summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2007-09-10 22:24:04 +0000
committerratchov <ratchov@openbsd.org>2007-09-10 22:24:04 +0000
commit5444c3c3e03a3f25746cbe80cd1d63a58aa9777e (patch)
treed567bf39ac463bfb1528e3135a00c4c83743a9cc
parentMake the hmac ipad/opad globals "const" and fixup the crypto functions (diff)
downloadwireguard-openbsd-5444c3c3e03a3f25746cbe80cd1d63a58aa9777e.tar.xz
wireguard-openbsd-5444c3c3e03a3f25746cbe80cd1d63a58aa9777e.zip
fix uninitialized linked list head
ok jakemsr@
-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) {