summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpc
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2001-12-06 03:12:32 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2001-12-06 03:12:32 +0000
commit5e6b57e941f3eae5c553cc494b0b74f5b7256796 (patch)
tree9baacecb89a5182bc63387cc1d233277a32b14ec /usr.sbin/lpr/lpc
parent6ea9ffacd6332c98e70121078512e7dbfccc7c2d (diff)
use err/warn and friends instead of printf/exit.
also, remove fatal2() which is just errx anyway. millert@ ok
Diffstat (limited to 'usr.sbin/lpr/lpc')
-rw-r--r--usr.sbin/lpr/lpc/lpc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c
index 42b23fde8d7..3c3ffe04331 100644
--- a/usr.sbin/lpr/lpc/lpc.c
+++ b/usr.sbin/lpr/lpc/lpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpc.c,v 1.10 2001/11/23 03:58:18 deraadt Exp $ */
+/* $OpenBSD: lpc.c,v 1.11 2001/12/06 03:12:30 ericj Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -44,7 +44,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)lpc.c 8.3 (Berkeley) 4/28/95";
#else
-static const char rcsid[] = "$OpenBSD: lpc.c,v 1.10 2001/11/23 03:58:18 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: lpc.c,v 1.11 2001/12/06 03:12:30 ericj Exp $";
#endif
#endif /* not lint */
@@ -98,7 +98,6 @@ main(argc, argv)
euid = geteuid();
uid = getuid();
seteuid(uid);
- name = argv[0];
openlog("lpd", 0, LOG_LPR);
if (--argc > 0) {