From 9a70ba8ef6b2acfca0640028dd9de0f0238edd28 Mon Sep 17 00:00:00 2001 From: ratchov Date: Sat, 30 Oct 2021 12:48:11 +0000 Subject: [PATCH] Fix build break caused by accidental keystroke during last commit --- sys/dev/midi.c | 4 ++-- 1 file 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); -- 2.20.1