summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2001-10-09 00:09:46 +0000
committergad <gad@FreeBSD.org>2001-10-09 00:09:46 +0000
commit2343dd5f763e0cf8884978b59d4ddb559f7d4ca0 (patch)
treec954d0b78c1b615f2bc955bb5e5d4a2e32d21e24 /usr.sbin
parent5b09ccdd39941d16b7822e60632046741eeeff7c (diff)
downloadFreeBSD-src-2343dd5f763e0cf8884978b59d4ddb559f7d4ca0.zip
FreeBSD-src-2343dd5f763e0cf8884978b59d4ddb559f7d4ca0.tar.gz
Get rid of some minor compile-time errors by changing copyright/rcsid
definitions to the same format used in other lpr source files, and by adding parenthesis to the right spot in one 'if' statement. MFC after: 4 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/filters/lpf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/lpr/filters/lpf.c b/usr.sbin/lpr/filters/lpf.c
index c74d4a7..7c759bb 100644
--- a/usr.sbin/lpr/filters/lpf.c
+++ b/usr.sbin/lpr/filters/lpf.c
@@ -32,14 +32,17 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1983, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
+/*
static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93";
-static char id[] = "$FreeBSD$";
+*/
+static const char rcsid[] =
+ "$FreeBSD$";
#endif /* not lint */
/*
@@ -166,7 +169,7 @@ main(int argc, char *argv[])
}
default:
- if (col >= width || !literal && ch < ' ') {
+ if (col >= width || (!literal && ch < ' ')) {
col++;
break;
}
OpenPOWER on IntegriCloud