Fix improper argument reference.

(bug introduced by 1ff0b63f)

* src/tar.c (parse_default_options): Pass args as is to the argp_parse.
This commit is contained in:
Sergey Poznyakoff
2021-01-17 19:02:47 +02:00
parent 972bebf07e
commit 2251317e3f

View File

@@ -2248,7 +2248,7 @@ parse_default_options (struct tar_args *args)
if (argp_parse (&argp,
ws.ws_offs + ws.ws_wordc,
ws.ws_wordv,
ARGP_IN_ORDER|ARGP_NO_EXIT, &idx, &args))
ARGP_IN_ORDER|ARGP_NO_EXIT, &idx, args))
abort (); /* shouldn't happen */
args->loc = save_loc_ptr;
if (name_more_files ())