summaryrefslogtreecommitdiff
path: root/chat/kadu/patches/patch-ab
blob: 7f76f3c82185ecc24c00cff72d53ac83ad8916fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.2 2004/07/09 10:46:23 adam Exp $

--- modules/dsp_sound/dsp_sound.cpp.orig	2004-05-25 17:44:15.000000000 +0000
+++ modules/dsp_sound/dsp_sound.cpp
@@ -178,7 +178,7 @@ void DirectPlayThread::run()
 				continue;
 			}
 			
-			if (ioctl(fd, SNDCTL_DSP_RESET)<0)
+			if (ioctl(fd, SNDCTL_DSP_RESET, NULL)<0)
 			{
 				qWarning("ioctl: %s", strerror(errno));
 				close(fd);