aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mountpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mountpoint.c')
-rw-r--r--util-linux/mountpoint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mountpoint.c b/util-linux/mountpoint.c
index 50772533f..6b21a5fb3 100644
--- a/util-linux/mountpoint.c
+++ b/util-linux/mountpoint.c
@@ -43,8 +43,7 @@ int mountpoint_main(int argc UNUSED_PARAM, char **argv)
char *arg;
int rc, opt;
- opt_complementary = "=1"; /* must have one argument */
- opt = getopt32(argv, "qdxn");
+ opt = getopt32(argv, "^" "qdxn" "\0" "=1");
#define OPT_q (1)
#define OPT_d (2)
#define OPT_x (4)