diff options
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index c13ad1442..80975c652 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -183,8 +183,7 @@ int makedevs_main(int argc UNUSED_PARAM, char **argv) | |||
183 | char *line = (char *)"-"; | 183 | char *line = (char *)"-"; |
184 | int ret = EXIT_SUCCESS; | 184 | int ret = EXIT_SUCCESS; |
185 | 185 | ||
186 | opt_complementary = "=1"; /* exactly one param */ | 186 | getopt32(argv, "^" "d:" "\0" "=1", &line); |
187 | getopt32(argv, "d:", &line); | ||
188 | argv += optind; | 187 | argv += optind; |
189 | 188 | ||
190 | xchdir(*argv); /* ensure root dir exists */ | 189 | xchdir(*argv); /* ensure root dir exists */ |