diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-28 23:52:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-28 23:52:37 +0000 |
commit | a787066ada1799e8748b8b7db969df0fe766a9e2 (patch) | |
tree | b737f9101674c493b89c885969e9df63f4bcac79 /usr.sbin/lpr/lpd | |
parent | 41efb0f1f1339b22b55ef3d0c3bb0eb5516cf4a9 (diff) |
syslog should use %s
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index 32fe86a519c..e83e403e68f 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printjob.c,v 1.19 1997/09/09 04:27:27 millert Exp $ */ +/* $OpenBSD: printjob.c,v 1.20 2000/06/28 23:52:36 deraadt Exp $ */ /* $NetBSD: printjob.c,v 1.9.4.3 1996/07/12 22:31:39 jtc Exp $ */ /* @@ -1222,7 +1222,7 @@ init() sprintf(&pxlength[2], "%ld", PY); cgetstr(bp, "rm", &RM); if ((s = checkremote())) - syslog(LOG_WARNING, s); + syslog(LOG_WARNING, "%s", s); cgetstr(bp, "af", &AF); cgetstr(bp, "of", &OF); |