projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add INIT_G()'s. No code changes.
[oweals/busybox.git]
/
util-linux
/
swaponoff.c
diff --git
a/util-linux/swaponoff.c
b/util-linux/swaponoff.c
index e53e24c7103a28c8567c5d220164de5e20702072..b3057b3095b938575470ea3adb68d714a46cf5a6 100644
(file)
--- a/
util-linux/swaponoff.c
+++ b/
util-linux/swaponoff.c
@@
-48,6
+48,7
@@
struct globals {
#else
#define g_flags 0
#endif
+#define INIT_G() do { } while (0)
static int swap_enable_disable(char *device)
{
@@
-111,6
+112,8
@@
int swap_on_off_main(int argc UNUSED_PARAM, char **argv)
{
int ret;
+ INIT_G();
+
#if !ENABLE_FEATURE_SWAPON_PRI
ret = getopt32(argv, "a");
#else