summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr')
-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