diff options
author | 2002-02-06 14:25:09 +0000 | |
---|---|---|
committer | 2002-02-06 14:25:09 +0000 | |
commit | 087049c37c89154bfd4773c59c642b2645b63233 (patch) | |
tree | b580b44d5fa6908cd8779f56b26265e8aafb2afe | |
parent | sort options; ok mpech@, stevesk@ (diff) | |
download | wireguard-openbsd-087049c37c89154bfd4773c59c642b2645b63233.tar.xz wireguard-openbsd-087049c37c89154bfd4773c59c642b2645b63233.zip |
correct monitor port matching.
-rw-r--r-- | sys/dev/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c index 4d2e9469613..8f552b9a2bd 100644 --- a/sys/dev/audio.c +++ b/sys/dev/audio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: audio.c,v 1.36 2002/02/04 20:42:25 fgsch Exp $ */ +/* $OpenBSD: audio.c,v 1.37 2002/02/06 14:25:09 fgsch Exp $ */ /* $NetBSD: audio.c,v 1.105 1998/09/27 16:43:56 christos Exp $ */ /* @@ -317,7 +317,7 @@ audioattach(parent, self, aux) au_check_ports(sc, &sc->sc_outports, &mi, oclass, AudioNoutput, AudioNmaster, otable); if (mi.mixer_class == oclass && - strcmp(mi.label.name, AudioNmonitor)) + strcmp(mi.label.name, AudioNmonitor) == 0) sc->sc_monitor_port = mi.index; } DPRINTF(("audio_attach: inputs ports=0x%x, output ports=0x%x\n", |