diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2019-01-23 22:39:48 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2019-01-23 22:39:48 +0000 |
commit | 7c94b3de9439275cc15a485257a69bd6bd11ed35 (patch) | |
tree | afa336b6c9eacf478d90d203d82a7874094e56ac /sys/kern/kern_exit.c | |
parent | 025de5db79fe7be85d2941ff053fab33467f9410 (diff) |
eliminate a ?: in witness mtx initializer by pushing the default one
level up.
ok guenther mpi visa
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 7d38cc93870..918ea4dc1bd 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.172 2019/01/06 12:59:45 visa Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.173 2019/01/23 22:39:47 tedu Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -352,7 +352,7 @@ exit1(struct proc *p, int rv, int flags) * proclist. We use the p_hash member to linkup to deadproc. */ struct mutex deadproc_mutex = - MUTEX_INITIALIZER_FLAGS(IPL_NONE, NULL, MTX_NOWITNESS); + MUTEX_INITIALIZER_FLAGS(IPL_NONE, "deadproc", MTX_NOWITNESS); struct proclist deadproc = LIST_HEAD_INITIALIZER(deadproc); /* |