From 0824d1a4fff4bea2fb51379a384a746de95ccd5f Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 20 Dec 1996 15:58:40 +0000 Subject: [PATCH] initialize name; is this the right hack? --- usr.sbin/lpr/lpd/lpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.20.1