From 5e6b57e941f3eae5c553cc494b0b74f5b7256796 Mon Sep 17 00:00:00 2001 From: Eric Jackson Date: Thu, 6 Dec 2001 03:12:32 +0000 Subject: use err/warn and friends instead of printf/exit. also, remove fatal2() which is just errx anyway. millert@ ok --- usr.sbin/lpr/lpc/lpc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/lpr/lpc') 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) { -- cgit v1.2.3