diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-01-25 10:16:14 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-01-25 10:16:14 +0000 |
commit | 9d1d9f93e2c6fe2fecd23203028c16414b523568 (patch) | |
tree | d1d0f8f19cdba6d1e29833da68c0e9b739f67e6a | |
parent | 7702c627cc3429f54607f9f8456a5348937b3990 (diff) |
typo
-rw-r--r-- | sbin/unwind/resolver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index 88f4c390c09..510a956c1ec 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.6 2019/01/25 10:15:12 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.7 2019/01/25 10:16:13 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -1045,7 +1045,7 @@ send_detailed_resolver_info(struct unwind_resolver *res, pid_t pid) { char buf[1024]; - if (res->type == RESOLVING) { + if (res->state == RESOLVING) { (void)strlcpy(buf, res->why_bogus, sizeof(buf)); resolver_imsg_compose_frontend(IMSG_CTL_RESOLVER_WHY_BOGUS, pid, buf, sizeof(buf)); |