Daniel Lehman : ntdll/tests: Fix error messages for mutant test.
Alexandre Julliard
julliard at winehq.org
Tue Jan 19 15:44:01 CST 2021
Module: wine
Branch: master
Commit: 37e00a8743053808a852fb314f726b6e19bd0c9a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=37e00a8743053808a852fb314f726b6e19bd0c9a
Author: Daniel Lehman <dlehman25 at gmail.com>
Date: Tue Jan 19 07:47:16 2021 -0800
ntdll/tests: Fix error messages for mutant test.
Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/om.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c
index 1bc94f984b5..ff0b9c939e4 100644
--- a/dlls/ntdll/tests/om.c
+++ b/dlls/ntdll/tests/om.c
@@ -1984,13 +1984,13 @@ static void test_mutant(void)
prev = 0xdeadbeef;
status = pNtReleaseMutant(mutant, &prev);
- ok( status == STATUS_SUCCESS, "NtQueryRelease failed %08x\n", status );
- ok( prev == -1, "NtQueryRelease failed, expected -1, got %d\n", prev );
+ ok( status == STATUS_SUCCESS, "NtReleaseMutant failed %08x\n", status );
+ ok( prev == -1, "NtReleaseMutant failed, expected -1, got %d\n", prev );
prev = 0xdeadbeef;
status = pNtReleaseMutant(mutant, &prev);
- ok( status == STATUS_SUCCESS, "NtQueryRelease failed %08x\n", status );
- ok( prev == 0, "NtQueryRelease failed, expected 0, got %d\n", prev );
+ ok( status == STATUS_SUCCESS, "NtReleaseMutant failed %08x\n", status );
+ ok( prev == 0, "NtReleaseMutant failed, expected 0, got %d\n", prev );
memset(&info, 0xcc, sizeof(info));
status = pNtQueryMutant(mutant, MutantBasicInformation, &info, sizeof(info), NULL);
More information about the wine-cvs
mailing list