X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=util-linux%2Fmount.c;h=56276ef01c5244ae3497abfa402fdff5b172c78d;hb=16714245f9a16ce3725aab079aea7b0d28c6b32f;hp=b51ab1782e44387003659ba19950be208c996f18;hpb=5c6ba6c56f9653488e1d805e727bb06c39ed23fa;p=oweals%2Fbusybox.git diff --git a/util-linux/mount.c b/util-linux/mount.c index b51ab1782..56276ef01 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -339,6 +339,7 @@ enum { GETMNTENT_BUFSIZE = COMMON_BUFSIZE - offsetof(struct globals, getmntent_b #endif #define fslist (G.fslist ) #define getmntent_buf (G.getmntent_buf ) +#define INIT_G() do { } while (0) #if ENABLE_FEATURE_MTAB_SUPPORT /* @@ -1944,6 +1945,8 @@ int mount_main(int argc UNUSED_PARAM, char **argv) IF_DESKTOP(int nonroot = ) sanitize_env_if_suid(); + INIT_G(); + // Parse long options, like --bind and --move. Note that -o option // and --option are synonymous. Yes, this means --remount,rw works. for (i = j = 1; argv[i]; i++) {