[PATCH] winmm: incorrect parameter for test debug (Coverity)

Marcus Meissner marcus at jet.franken.de
Fri Jun 28 02:34:19 CDT 2013


 713014 Copy-paste error
---
 dlls/winmm/tests/mcicda.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winmm/tests/mcicda.c b/dlls/winmm/tests/mcicda.c
index 16c0b1c..7536111 100644
--- a/dlls/winmm/tests/mcicda.c
+++ b/dlls/winmm/tests/mcicda.c
@@ -227,7 +227,7 @@ static void test_play(HWND hwnd)
     if(!err) trace("CD length %s\n", buf);
 
     if(err) { /* MCIERR_HARDWARE when given a blank disk */
-        skip("status length %s (blank disk?)\n", dbg_mcierr(ok_hw));
+        skip("status length %s (blank disk?)\n", dbg_mcierr(err));
         return;
     }
 
-- 
1.7.10.4




More information about the wine-patches mailing list