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/common_source Pull up revision 1.18 (reque...



details:   https://anonhg.NetBSD.org/src/rev/912923d2fd79
branches:  netbsd-1-4
changeset: 471126:912923d2fd79
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 17:05:14 2000 +0000

description:
Pull up revision 1.18 (requested by he):
  Format string cleanup.

diffstat:

 usr.sbin/lpr/common_source/displayq.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 519321d3e4a8 -r 912923d2fd79 usr.sbin/lpr/common_source/displayq.c
--- a/usr.sbin/lpr/common_source/displayq.c     Thu Oct 19 17:05:07 2000 +0000
+++ b/usr.sbin/lpr/common_source/displayq.c     Thu Oct 19 17:05:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: displayq.c,v 1.15 1998/09/14 21:23:07 frueauf Exp $    */
+/*     $NetBSD: displayq.c,v 1.15.2.1 2000/10/19 17:05:14 he Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: displayq.c,v 1.15 1998/09/14 21:23:07 frueauf Exp $");
+__RCSID("$NetBSD: displayq.c,v 1.15.2.1 2000/10/19 17:05:14 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -84,8 +84,8 @@
 static int     rank;           /* order to be printed (-1=none, 0=active) */
 static long    totsize;        /* total print job size in bytes */
 
-static char    *head0 = "Rank   Owner      Job  Files";
-static char    *head1 = "Total Size\n";
+static const char head0[] = "Rank   Owner      Job  Files";
+static const char head1[] = "Total Size\n";
 
 /*
  * Display the current state of the queue. Format = 1 if long format.



Home | Main Index | Thread Index | Old Index