diff options
-rw-r--r-- | sys/dev/audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c index 7ab08aba6d5..8b630d1b1d8 100644 --- a/sys/dev/audio.c +++ b/sys/dev/audio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: audio.c,v 1.78 2007/09/17 13:46:11 jakemsr Exp $ */ +/* $OpenBSD: audio.c,v 1.79 2007/09/24 19:23:41 ratchov Exp $ */ /* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */ /* @@ -2243,6 +2243,8 @@ au_get_mute(struct audio_softc *sc, struct au_mixer_ports *ports, u_char *mute) mixer_ctrl_t ct; int error; + *mute = 0; + /* if no master, silently ignore request */ if (ports->master == -1) return 0; |