artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd29a3c
)
initialize name; is this the right hack?
author
deraadt
<deraadt@openbsd.org>
Fri, 20 Dec 1996 15:58:40 +0000
(15:58 +0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 20 Dec 1996 15:58:40 +0000
(15:58 +0000)
usr.sbin/lpr/lpd/lpd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/lpr/lpd/lpd.c
b/usr.sbin/lpr/lpd/lpd.c
index
a9780fe
..
ff9183c
100644
(file)
--- a/
usr.sbin/lpr/lpd/lpd.c
+++ b/
usr.sbin/lpr/lpd/lpd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: lpd.c,v 1.1
1 1996/11/03 23:24:08 miller
t Exp $ */
+/* $OpenBSD: lpd.c,v 1.1
2 1996/12/20 15:58:40 deraad
t 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);