diff options
Diffstat (limited to 'toys/posix/mkdir.c')
-rw-r--r-- | toys/posix/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c index abb33db4..770300d4 100644 --- a/toys/posix/mkdir.c +++ b/toys/posix/mkdir.c @@ -48,7 +48,7 @@ void mkdir_main(void) // Note, -p and -v flags line up with mkpathat() flags for (s=toys.optargs; *s; s++) { - if (mkpathat(AT_FDCWD, *s, mode, toys.optflags|1)) + if (mkpathat(AT_FDCWD, *s, mode, toys.optflags|MKPATHAT_MKLAST)) perror_msg("'%s'", *s); } } |