diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2021-01-19 16:50:24 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2021-01-19 16:50:24 +0000 |
commit | 66aadf638f7d4438b41066b6a0833062136b63a4 (patch) | |
tree | 7cf01c8cd9da2dd878ff6a9c16144ca3831e852c /sbin/unwind/resolver.c | |
parent | 03e464e751a76f5d81be388f12ef8c595d58de71 (diff) |
No need for a global uw_process; unbreaks -fno-common.
Problem reported by mortimer
Diffstat (limited to 'sbin/unwind/resolver.c')
-rw-r--r-- | sbin/unwind/resolver.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index e2b5abb35ea..c0af11d1069 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.129 2020/12/26 15:07:25 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.130 2021/01/19 16:50:23 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -355,9 +355,8 @@ resolver(int debug, int verbose) if ((pw = getpwnam(UNWIND_USER)) == NULL) fatal("getpwnam"); - uw_process = PROC_RESOLVER; - setproctitle("%s", log_procnames[uw_process]); - log_procinit(log_procnames[uw_process]); + setproctitle("%s", "resolver"); + log_procinit("resolver"); if (setgroups(1, &pw->pw_gid) || setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) || |