summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-12-06 05:37:18 +0000
committerjdp <jdp@FreeBSD.org>1997-12-06 05:37:18 +0000
commita6916dfaa914987c6bb98ab3cf2017b9836de252 (patch)
treeb8bc6fe8b3b05ab82b326137abb0c7d46b7ccee6 /usr.sbin
parenta9e2deb1a1159be99ea49fcc88c2cdb43203137f (diff)
downloadFreeBSD-src-a6916dfaa914987c6bb98ab3cf2017b9836de252.zip
FreeBSD-src-a6916dfaa914987c6bb98ab3cf2017b9836de252.tar.gz
Add missing argument to warn() call.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/chkprintcap/chkprintcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/chkprintcap/chkprintcap.c b/usr.sbin/lpr/chkprintcap/chkprintcap.c
index cd9ab66..9b4e8c9 100644
--- a/usr.sbin/lpr/chkprintcap/chkprintcap.c
+++ b/usr.sbin/lpr/chkprintcap/chkprintcap.c
@@ -30,7 +30,7 @@
static const char copyright[] =
"Copyright (C) 1997, Massachusetts Institute of Technology\r\n";
static const char rcsid[] =
- "$Id$";
+ "$Id: chkprintcap.c,v 1.1 1997/12/02 20:45:11 wollman Exp $";
#include <sys/types.h>
#include <sys/queue.h>
@@ -260,7 +260,7 @@ make_spool_dir(const struct printer *pp)
if (chmod(sd, SPOOL_DIR_MODE) < 0) {
++problems;
- warn("%s: cannot change mode to %lo", (long)SPOOL_DIR_MODE);
+ warn("%s: cannot change mode to %lo", sd, (long)SPOOL_DIR_MODE);
return;
}
if (stat(sd, &stab) < 0)
OpenPOWER on IntegriCloud