tftp: do not risk invoking Sorcerer's Apprentice syndrome
[oweals/busybox.git] / modutils / depmod.c
index 7f3e1d8a633415255246e672619667615fb718b9..405ba9e2a09431a17ae89d521aae09473c352850 100644 (file)
@@ -36,7 +36,8 @@ enum {
        ARG_b = (1<<2), /* base directory when modules are in staging area */
        ARG_e = (1<<3), /* with -F, print unresolved symbols */
        ARG_F = (1<<4), /* System.map that contains the symbols */
-       ARG_n = (1<<5)  /* dry-run, print to stdout only */
+       ARG_n = (1<<5), /* dry-run, print to stdout only */
+       ARG_r = (1<<6)  /* Compat dummy. Linux Makefile uses it */
 };
 
 static int FAST_FUNC parse_module(const char *fname, struct stat *sb,
@@ -138,7 +139,7 @@ int depmod_main(int argc UNUSED_PARAM, char **argv)
        struct utsname uts;
        int tmp;
 
-       getopt32(argv, "aAb:eF:n", &moddir_base, NULL);
+       getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
        argv += optind;
 
        /* goto modules location */