diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/bvm/bvm_console.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/bvm/bvm_console.c b/sys/dev/bvm/bvm_console.c index 73cdc2a..a7b1bc5 100644 --- a/sys/dev/bvm/bvm_console.c +++ b/sys/dev/bvm/bvm_console.c @@ -128,9 +128,8 @@ static void bvm_tty_close(struct tty *tp) { - tty_lock(tp); + tty_lock_assert(tp, MA_OWNED); callout_stop(&bvm_timer); - tty_unlock(tp); } static void |