aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2004-06-20 17:26:47 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2004-06-20 17:26:47 +0000
commitfbb4e16a3b71791cf1c33789c5afbe12a415e041 (patch)
treeb17e65bf9b7c5a071daf2ffe626d3108b5eb6dcf /usr.sbin
parenta8c51f82b1df033a8e878e50e9d3b69a88b8fd13 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index c160432a8c30d..df944e386ab1e 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -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);