From: Sergey Poznyakoff Date: Sun, 17 Jan 2021 17:02:47 +0000 (+0200) Subject: Fix improper argument reference. X-Git-Tag: release_1_34~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2251317e3fe971fd34608cf312c8120141d8fce4;p=thirdparty%2Ftar.git Fix improper argument reference. (bug introduced by 1ff0b63f) * src/tar.c (parse_default_options): Pass args as is to the argp_parse. --- diff --git a/src/tar.c b/src/tar.c index 83072f12..6629f190 100644 --- a/src/tar.c +++ b/src/tar.c @@ -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 ())