WARN on ARTS_Init() failures

Francois Gouget fgouget at codeweavers.com
Tue Jun 15 13:14:39 CDT 2004


It's absolutely valid to have winearts.drv in the Drivers list even in 
cases where the aRts server is not running. Thus an ARTS_Init() failure 
should not be an ERR() but a WARN().


Changelog:

  * dlls/winmm/winearts/audio.c

    Francois Gouget <fgouget at codeweavers.com>
    Change the ARTS_Init() error message from an ERR() to a WARN() since 
it can happen in perfectly normal conditions.


-- 
Francois Gouget
fgouget at codeweavers.com

-------------- next part --------------
Index: dlls/winmm/winearts/audio.c
===================================================================
RCS file: /var/cvs/wine/dlls/winmm/winearts/audio.c,v
retrieving revision 1.19
diff -u -r1.19 audio.c
--- a/dlls/winmm/winearts/audio.c	1 Jun 2004 20:22:11 -0000	1.19
+++ b/dlls/winmm/winearts/audio.c	15 Jun 2004 15:32:49 -0000
@@ -357,7 +357,7 @@
 
     if ((errorcode = ARTS_Init()) < 0)
     {
-	ERR("arts_init() failed (%d)\n", errorcode);
+	WARN("arts_init() failed (%d)\n", errorcode);
 	return -1;
     }
 


More information about the wine-patches mailing list