summaryrefslogtreecommitdiffstats
path: root/sys/dev/kcov.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2020-08-30 13:18:10 +0000
committeranton <anton@openbsd.org>2020-08-30 13:18:10 +0000
commit4d0124bd24fa0009e53e9e670f57951bac5e93e9 (patch)
tree9e8a5141644d4c3146672b610601ad2c177642a5 /sys/dev/kcov.c
parentAdd regress test case for make/varmodifiers.c r1.48 (diff)
downloadwireguard-openbsd-4d0124bd24fa0009e53e9e670f57951bac5e93e9.tar.xz
wireguard-openbsd-4d0124bd24fa0009e53e9e670f57951bac5e93e9.zip
use unique wait messages with msleep_nsec()
Diffstat (limited to 'sys/dev/kcov.c')
-rw-r--r--sys/dev/kcov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/kcov.c b/sys/dev/kcov.c
index 372a5870bc4..4fa9356d8c5 100644
--- a/sys/dev/kcov.c
+++ b/sys/dev/kcov.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kcov.c,v 1.26 2020/08/29 08:41:11 anton Exp $ */
+/* $OpenBSD: kcov.c,v 1.27 2020/08/30 13:18:10 anton Exp $ */
/*
* Copyright (c) 2018 Anton Lindqvist <anton@openbsd.org>
@@ -726,7 +726,7 @@ kr_barrier(struct kcov_remote *kr)
MUTEX_ASSERT_LOCKED(&kcov_mtx);
while (kr->kr_nsections > 0)
- msleep_nsec(kr, &kcov_mtx, PWAIT, "kcov", INFSLP);
+ msleep_nsec(kr, &kcov_mtx, PWAIT, "kcovbar", INFSLP);
}
struct kcov_remote *