diff options
Diffstat (limited to 'util-linux/mountpoint.c')
-rw-r--r-- | util-linux/mountpoint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/mountpoint.c b/util-linux/mountpoint.c index b7f048196..6b21a5fb3 100644 --- a/util-linux/mountpoint.c +++ b/util-linux/mountpoint.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: help | 14 | //config: help |
15 | //config: mountpoint checks if the directory is a mountpoint. | 15 | //config: mountpoint checks if the directory is a mountpoint. |
16 | 16 | ||
17 | //applet:IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP)) | 17 | //applet:IF_MOUNTPOINT(APPLET_NOEXEC(mountpoint, mountpoint, BB_DIR_BIN, BB_SUID_DROP, mountpoint)) |
18 | 18 | ||
19 | //kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o | 19 | //kbuild:lib-$(CONFIG_MOUNTPOINT) += mountpoint.o |
20 | 20 | ||
@@ -43,8 +43,7 @@ int mountpoint_main(int argc UNUSED_PARAM, char **argv) | |||
43 | char *arg; | 43 | char *arg; |
44 | int rc, opt; | 44 | int rc, opt; |
45 | 45 | ||
46 | opt_complementary = "=1"; /* must have one argument */ | 46 | opt = getopt32(argv, "^" "qdxn" "\0" "=1"); |
47 | opt = getopt32(argv, "qdxn"); | ||
48 | #define OPT_q (1) | 47 | #define OPT_q (1) |
49 | #define OPT_d (2) | 48 | #define OPT_d (2) |
50 | #define OPT_x (4) | 49 | #define OPT_x (4) |