diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-05-01 13:12:33 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2007-05-01 13:12:33 +0000 |
commit | 739d1781eea60c877f2a48a1a9a0258af62c3d65 (patch) | |
tree | ec0a5dc49e47f3afad2a990b76fb542eaf9d2db8 /usr.sbin/lpr/common_source | |
parent | 675df0e094b72d4cfa68ca00532ae0a4ee4564fc (diff) |
use warn() vs. perror() for consistency; ok millert@
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r-- | usr.sbin/lpr/common_source/startdaemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/startdaemon.c b/usr.sbin/lpr/common_source/startdaemon.c index 96282231517..2ee321f9a3b 100644 --- a/usr.sbin/lpr/common_source/startdaemon.c +++ b/usr.sbin/lpr/common_source/startdaemon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: startdaemon.c,v 1.10 2003/06/02 23:36:53 millert Exp $ */ +/* $OpenBSD: startdaemon.c,v 1.11 2007/05/01 13:12:32 stevesk Exp $ */ /* $NetBSD: startdaemon.c,v 1.10 1998/07/18 05:04:39 lukem Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static const char sccsid[] = "@(#)startdaemon.c 8.2 (Berkeley) 4/17/94"; #else -static const char rcsid[] = "$OpenBSD: startdaemon.c,v 1.10 2003/06/02 23:36:53 millert Exp $"; +static const char rcsid[] = "$OpenBSD: startdaemon.c,v 1.11 2007/05/01 13:12:32 stevesk Exp $"; #endif #endif /* not lint */ @@ -86,7 +86,7 @@ startdaemon(char *printer) } PRIV_END; siginterrupt(SIGINT, 0); - perror("connect"); + warn("connect"); (void)close(s); return(0); } |