From a6916dfaa914987c6bb98ab3cf2017b9836de252 Mon Sep 17 00:00:00 2001 From: jdp Date: Sat, 6 Dec 1997 05:37:18 +0000 Subject: Add missing argument to warn() call. --- usr.sbin/lpr/chkprintcap/chkprintcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/lpr') 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 #include @@ -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) -- cgit v1.1