Sven Baars : ntoskrnl.exe/tests: Add a missing argument to an ok call (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Aug 3 16:35:35 CDT 2020


Module: wine
Branch: master
Commit: 333a867f75cc0bc380714a0369a1e896f4a2941a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=333a867f75cc0bc380714a0369a1e896f4a2941a

Author: Sven Baars <sbaars at codeweavers.com>
Date:   Sun Aug  2 19:20:22 2020 +0200

ntoskrnl.exe/tests: Add a missing argument to an ok call (Coverity).

Signed-off-by: Sven Baars <sbaars at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/tests/driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntoskrnl.exe/tests/driver.c b/dlls/ntoskrnl.exe/tests/driver.c
index d3f62879a4..7a325753d4 100644
--- a/dlls/ntoskrnl.exe/tests/driver.c
+++ b/dlls/ntoskrnl.exe/tests/driver.c
@@ -1614,7 +1614,7 @@ static void test_completion(void)
     IoSetCompletionRoutine(irp, completion_cb, NULL, TRUE, TRUE, TRUE);
     ret = IoCallDriver(upper_device, irp);
     ok(ret == STATUS_SUCCESS, "IoCallDriver returned %#x\n", ret);
-    ok(got_completion == 2, "got %u calls to completion routine\n");
+    ok(got_completion == 2, "got %u calls to completion routine\n", got_completion);
 }
 
 static void test_IoAttachDeviceToDeviceStack(void)




More information about the wine-cvs mailing list