Fix the format-string in a call to err(). It was causing a warning if
compiled on 4.x-stable.
This commit is contained in:
parent
a8c51f82b1
commit
fbb4e16a3b
@ -1801,7 +1801,7 @@ do_zipwork(struct zipwork_entry *zwork)
|
||||
else if (!pidzip) {
|
||||
/* The child process executes the compression command */
|
||||
execl(pgm_path, pgm_path, "-f", zwork->zw_fname, (char *)0);
|
||||
err(1, pgm_path);
|
||||
err(1, "%s", pgm_path);
|
||||
}
|
||||
|
||||
wpid = waitpid(pidzip, &zstatus, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user