summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/lpr/common_source/startdaemon.c6
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);
}