diff options
-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 5ab7cab65..11487c8f2 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -143,7 +143,7 @@ main (int argc, char **argv) int fail = 0; if (create_parents) { - const char *parents = dir_name (argv[optind]); + char *parents = dir_name (argv[optind]); fail = make_path (parents, parent_mode, parent_mode, -1, -1, 1, verbose_fmt_string); free (parents); |