From 2251317e3fe971fd34608cf312c8120141d8fce4 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 17 Jan 2021 19:02:47 +0200 Subject: [PATCH] Fix improper argument reference. (bug introduced by 1ff0b63f) * src/tar.c (parse_default_options): Pass args as is to the argp_parse. --- src/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ())