summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/dvmrpe.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-01-19 12:26:39 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-01-19 12:26:39 +0000
commitf8e67fb33213d46ba8c60eab42ee37056cf619c7 (patch)
tree150aa98994b80fba6160f3c9ad3a3dd156fb9205 /usr.sbin/dvmrpd/dvmrpe.c
parentbb027611161c80704e1505937bb846bd0171bd9f (diff)
Kill dvrmpd_process and log_procnames. Unneeded abstraction for this
simple daemon.
Diffstat (limited to 'usr.sbin/dvmrpd/dvmrpe.c')
-rw-r--r--usr.sbin/dvmrpd/dvmrpe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/dvmrpd/dvmrpe.c b/usr.sbin/dvmrpd/dvmrpe.c
index 57cb6ec8ca5..75432dbe591 100644
--- a/usr.sbin/dvmrpd/dvmrpe.c
+++ b/usr.sbin/dvmrpd/dvmrpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrpe.c,v 1.21 2021/01/19 12:23:30 claudio Exp $ */
+/* $OpenBSD: dvmrpe.c,v 1.22 2021/01/19 12:26:38 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -117,8 +117,7 @@ dvmrpe(struct dvmrpd_conf *xconf, int pipe_parent2dvmrpe[2],
fatal("chdir(\"/\")");
setproctitle("dvmrp engine");
- dvmrpd_process = PROC_DVMRP_ENGINE;
- log_procname = log_procnames[dvmrpd_process];
+ log_procname = "dvmrpe";
if (setgroups(1, &pw->pw_gid) ||
setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||