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:
Garance A Drosehn 2004-06-20 17:26:47 +00:00
parent a8c51f82b1
commit fbb4e16a3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130794

View File

@ -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);