summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2006-03-12 10:34:51 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2006-03-12 10:34:51 +0000
commit2f2293cbf5c41b14677a5f89f701897ae5bca543 (patch)
treea4352ebaaa10aca504f930591deda51a0af7cf8a /sys/dev
parent2a8a51b35decdd831badf8535f72bcc5808412d8 (diff)
explicitly initialize a couple variables
OK brad@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/audio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index 4854c58c150..7ceb6743ca7 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.48 2006/01/02 05:21:37 brad Exp $ */
+/* $OpenBSD: audio.c,v 1.49 2006/03/12 10:34:50 jakemsr Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -849,7 +849,9 @@ audio_init_ringbuffer(rp)
rp->end = rp->start + nblks * blksize;
rp->inp = rp->outp = rp->start;
rp->stamp = 0;
+ rp->stamp_last = 0;
rp->drops = 0;
+ rp->pdrops = 0;
rp->pause = 0;
rp->copying = 0;
rp->needfill = 0;