summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2007-09-10 22:24:05 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2007-09-10 22:24:05 +0000
commit955aee928a72031a56aa80ede3f5d94022fcd992 (patch)
treea41857f665daa576f8696318949a87a5ff9a8f99 /sys/dev/audio.c
parent744ccd1f3c568ba9fe2b0e7ed2f4276f452f3d03 (diff)
fix uninitialized linked list head
ok jakemsr@
Diffstat (limited to 'sys/dev/audio.c')
-rw-r--r--sys/dev/audio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index 7af6b0257b4..c3d0354c66b 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.74 2007/09/10 05:34:32 ratchov Exp $ */
+/* $OpenBSD: audio.c,v 1.75 2007/09/10 22:24:04 ratchov Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -263,6 +263,7 @@ audioattach(struct device *parent, struct device *self, void *aux)
sc->hw_if = hwp;
sc->hw_hdl = hdlp;
sc->sc_dev = parent;
+ sc->sc_async_mixer = NULL;
error = audio_alloc_ring(sc, &sc->sc_pr, AUMODE_PLAY, AU_RING_SIZE);
if (error) {