summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/lpd/lpd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c
index a9780fe2285..ff9183ccdd7 100644
--- a/usr.sbin/lpr/lpd/lpd.c
+++ b/usr.sbin/lpr/lpd/lpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpd.c,v 1.11 1996/11/03 23:24:08 millert Exp $ */
+/* $OpenBSD: lpd.c,v 1.12 1996/12/20 15:58:40 deraadt Exp $ */
/* $NetBSD: lpd.c,v 1.7 1996/04/24 14:54:06 mrg Exp $ */
/*
@@ -127,6 +127,8 @@ main(argc, argv)
options = 0;
gethostname(host, sizeof(host));
+ name = "lpd";
+
if (euid != 0) {
fprintf(stderr,"lpd: must run as root\n");
exit(1);