summaryrefslogtreecommitdiff
path: root/chat/kadu/patches/patch-ab
blob: 2d6c6b8a64d8e6cd39ec3f7910b1cbbe144b3813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1.1.1 2004/04/28 13:55:22 adam Exp $

--- modules/dsp_sound/dsp_sound.cpp.orig	2004-04-28 14:47:44.000000000 +0000
+++ modules/dsp_sound/dsp_sound.cpp
@@ -174,7 +174,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);