mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-12 21:28:25 -04:00
Call the parse_chmod() with its new syntax.
This commit is contained in:
1 parent
81b096feef
commit
bbe42182df
1 file changed
+1
-1
@@ -1042,7 +1042,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
|
||||
|
||||
case OPT_CHMOD:
|
||||
arg = poptGetOptArg(pc);
|
||||
if (!(chmod_modes = parse_chmod(arg, chmod_modes))) {
|
||||
if (!parse_chmod(arg, &chmod_modes)) {
|
||||
snprintf(err_buf, sizeof err_buf,
|
||||
"Invalid argument passed to --chmod (%s)\n",
|
||||
arg);
|
||||
|
||||
Reference in new issue
Block a user