Call the parse_chmod() with its new syntax.

This commit is contained in:
Wayne Davison
2006-01-30 17:53:19 +00:00
parent 81b096feef
commit bbe42182df

View File

@@ -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);