summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2007-04-07 21:12:13 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2007-04-07 21:12:13 +0000
commit014aadb08a942a913b3fc8ea83de912fe4f162fd (patch)
tree8c8b986244129137f695c11564c238c1e2a9086a /usr.sbin/lpr
parentb31a169892045b5732b624d8f63244bf025bfd90 (diff)
trailing "\n" not needed in fatal(); ok millert@
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/common_source/displayq.c6
-rw-r--r--usr.sbin/lpr/common_source/rmjob.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/lpr/common_source/displayq.c b/usr.sbin/lpr/common_source/displayq.c
index 5e8b87245de..400801f10eb 100644
--- a/usr.sbin/lpr/common_source/displayq.c
+++ b/usr.sbin/lpr/common_source/displayq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: displayq.c,v 1.27 2006/04/08 02:16:06 ray Exp $ */
+/* $OpenBSD: displayq.c,v 1.28 2007/04/07 21:12:11 stevesk Exp $ */
/* $NetBSD: displayq.c,v 1.21 2001/08/30 00:51:50 itojun Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95";
#else
-static const char rcsid[] = "$OpenBSD: displayq.c,v 1.27 2006/04/08 02:16:06 ray Exp $";
+static const char rcsid[] = "$OpenBSD: displayq.c,v 1.28 2007/04/07 21:12:11 stevesk Exp $";
#endif
#endif /* not lint */
@@ -143,7 +143,7 @@ displayq(int format)
fatal("cannot chdir to spooling directory");
PRIV_END;
if ((nitems = getq(&queue)) < 0)
- fatal("cannot examine spooling area\n");
+ fatal("cannot examine spooling area");
PRIV_START;
ret = stat(LO, &statb);
PRIV_END;
diff --git a/usr.sbin/lpr/common_source/rmjob.c b/usr.sbin/lpr/common_source/rmjob.c
index c2cf59fc066..cc3373a6d67 100644
--- a/usr.sbin/lpr/common_source/rmjob.c
+++ b/usr.sbin/lpr/common_source/rmjob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmjob.c,v 1.16 2003/06/02 23:36:53 millert Exp $ */
+/* $OpenBSD: rmjob.c,v 1.17 2007/04/07 21:12:12 stevesk Exp $ */
/* $NetBSD: rmjob.c,v 1.16 2000/04/16 14:43:58 mrg Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)rmjob.c 8.2 (Berkeley) 4/28/95";
#else
-static const char rcsid[] = "$OpenBSD: rmjob.c,v 1.16 2003/06/02 23:36:53 millert Exp $";
+static const char rcsid[] = "$OpenBSD: rmjob.c,v 1.17 2007/04/07 21:12:12 stevesk Exp $";
#endif
#endif /* not lint */
@@ -152,7 +152,7 @@ rmjob(void)
* Restart the printer daemon if it was killed
*/
if (assasinated && !startdaemon(printer))
- fatal("cannot restart printer daemon\n");
+ fatal("cannot restart printer daemon");
exit(0);
}