Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/lpr/lpd Pull up revision 1.25 (via patch, requ...



details:   https://anonhg.NetBSD.org/src/rev/959402516c30
branches:  netbsd-1-4
changeset: 471109:959402516c30
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 17:01:09 2000 +0000

description:
Pull up revision 1.25 (via patch, requested by he):
  Format string cleanup.

diffstat:

 usr.sbin/lpr/lpd/printjob.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a35ea1a39f82 -r 959402516c30 usr.sbin/lpr/lpd/printjob.c
--- a/usr.sbin/lpr/lpd/printjob.c       Thu Oct 19 17:00:43 2000 +0000
+++ b/usr.sbin/lpr/lpd/printjob.c       Thu Oct 19 17:01:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printjob.c,v 1.19.2.1 2000/10/04 13:58:15 he Exp $     */
+/*     $NetBSD: printjob.c,v 1.19.2.2 2000/10/19 17:01:09 he Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -45,7 +45,7 @@
 #if 0
 static char sccsid[] = "@(#)printjob.c 8.7 (Berkeley) 5/10/95";
 #else
-__RCSID("$NetBSD: printjob.c,v 1.19.2.1 2000/10/04 13:58:15 he Exp $");
+__RCSID("$NetBSD: printjob.c,v 1.19.2.2 2000/10/19 17:01:09 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -130,7 +130,8 @@
 static void       openrem __P((void));
 static int        print __P((int, char *));
 static int        printit __P((char *));
-static void       pstatus __P((const char *, ...));
+static void       pstatus __P((const char *, ...))
+       __attribute__((__format__(__printf__, 1, 2)));
 static char       response __P((void));
 static void       scan_out __P((int, char *, int));
 static char      *scnline __P((int, char *, int));



Home | Main Index | Thread Index | Old Index