diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2021-10-30 12:48:12 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2021-10-30 12:48:12 +0000 |
commit | 77612d4e322bfa28ec4df0797253b8edc15833a1 (patch) | |
tree | 45e014081b8026c575016c4a55fbc62c899aa332 | |
parent | c76517921b0eec82e924cb90f66eb36d4066c571 (diff) |
Fix build break caused by accidental keystroke during last commit
-rw-r--r-- | sys/dev/midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c index eb4075d8e1e..bcef144fbdc 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.c,v 1.51 2021/10/30 12:40:55 ratchov Exp $ */ +/* $OpenBSD: midi.c,v 1.52 2021/10/30 12:48:11 ratchov Exp $ */ /* * Copyright (c) 2003, 2004 Alexandre Ratchov @@ -616,7 +616,7 @@ mididetach(struct device *self, int flags) selwakeup(&sc->inbuf.sel); mtx_leave(&audio_lock); } - if (sc->flags & WRITE) { + if (sc->flags & FWRITE) { wakeup(&sc->outbuf.blocking); mtx_enter(&audio_lock); selwakeup(&sc->outbuf.sel); |