Call the parse_chmod() with its new syntax.

This commit is contained in:
Wayne Davison committed 2006-01-30 17:53:19 +00:00
1 parent 81b096feef
commit bbe42182df
1 file changed
+1 -1
+1 -1
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);