$OpenBSD: patch-wslib_audio_voxware_c,v 1.1.1.1 2001/01/09 20:59:35 naddy Exp $
--- wslib/audio_voxware.c.orig	Fri Mar 31 22:14:40 2000
+++ wslib/audio_voxware.c	Tue Jan  9 20:59:01 2001
@@ -106,7 +106,7 @@ resetAudioDevice(int audiofd)
 {
 	assert(audiofd > 0);
 
-	if (ioctl(audiofd, SNDCTL_DSP_RESET) == -1) {
+	if (ioctl(audiofd, SNDCTL_DSP_RESET, 0) == -1) {
 		perror("SNDCTL_DSP_RESET");
 		SErrorCode = SERR_DEVRESET;
 		return -1;
