diff options
| author | Neel Natu <neel@FreeBSD.org> | 2014-03-09 02:07:15 +0000 |
|---|---|---|
| committer | Neel Natu <neel@FreeBSD.org> | 2014-03-09 02:07:15 +0000 |
| commit | f5f87548b9e04a76ebc853f1dc93d7f9951c3eb4 (patch) | |
| tree | 839aa4c07c9bcdace695c1235c6a7b49575fe888 /sys/dev/bvm/bvm_console.c | |
| parent | b719fba2eae1dfa5366c2183356287544cbb472c (diff) | |
Notes
Diffstat (limited to 'sys/dev/bvm/bvm_console.c')
| -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 73cdc2a8de9d..a7b1bc5ac068 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 |
