diff options
Diffstat (limited to 'src/mkdir.c')
-rw-r--r-- | src/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index 9f1ae187f..3c12625b7 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -89,7 +89,7 @@ main (int argc, char **argv) path_mode = 0; - while ((optc = getopt_long (argc, argv, "pm:", longopts, (int *) 0)) != EOF) + while ((optc = getopt_long (argc, argv, "pm:", longopts, NULL)) != -1) { switch (optc) { |