diff options
| author | 2020-03-05 09:28:31 +0000 | |
|---|---|---|
| committer | 2020-03-05 09:28:31 +0000 | |
| commit | c9289374ab61db7b750f1d24f50e48b42b77afce (patch) | |
| tree | 4477efaec8bdeec975fe02dabe937aa870f3af37 /sys/kern/kern_lock.c | |
| parent | Fix ldapd datadir location. (diff) | |
| download | wireguard-openbsd-c9289374ab61db7b750f1d24f50e48b42b77afce.tar.xz wireguard-openbsd-c9289374ab61db7b750f1d24f50e48b42b77afce.zip | |
The 'lock spun out' db_printf needs a newline. All other MP_LOCKDEBUG
messages do have the newline already.
OK anton@ kettenis@
Diffstat (limited to 'sys/kern/kern_lock.c')
| -rw-r--r-- | sys/kern/kern_lock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index ef5aa3f6029..5cc55bb256a 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_lock.c,v 1.70 2019/06/04 15:41:02 visa Exp $ */ +/* $OpenBSD: kern_lock.c,v 1.71 2020/03/05 09:28:31 claudio Exp $ */ /* * Copyright (c) 2017 Visa Hankala @@ -118,7 +118,7 @@ __mp_lock_spin(struct __mp_lock *mpl, u_int me) #ifdef MP_LOCKDEBUG if (--nticks <= 0) { - db_printf("%s: %p lock spun out", __func__, mpl); + db_printf("%s: %p lock spun out\n", __func__, mpl); db_enter(); nticks = __mp_lock_spinout; } @@ -268,7 +268,7 @@ mtx_enter(struct mutex *mtx) #ifdef MP_LOCKDEBUG if (--nticks == 0) { - db_printf("%s: %p lock spun out", __func__, mtx); + db_printf("%s: %p lock spun out\n", __func__, mtx); db_enter(); nticks = __mp_lock_spinout; } |
