Explorar el Código

Fix improper argument reference.

(bug introduced by 1ff0b63f)

* src/tar.c (parse_default_options): Pass args as is to the argp_parse.
Sergey Poznyakoff hace 4 años
padre
commit
2251317e3f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/tar.c

+ 1 - 1
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 ())