Francois Gouget : ntdll/tests: Use '%u' to print GetLastError().
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 18 06:45:22 CST 2007
Module: wine
Branch: master
Commit: fb6569a720d06f76d60651db4b9615c0041e70d1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fb6569a720d06f76d60651db4b9615c0041e70d1
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Jan 18 11:36:55 2007 +0100
ntdll/tests: Use '%u' to print GetLastError().
---
dlls/ntdll/tests/info.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 8d288d7..d460f33 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -680,7 +680,7 @@ static void test_query_process_times(voi
process = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, one_before_last_pid);
if (!process)
{
- trace("Could not open process with ID : %d, error : %08x. Going to use current one.\n", one_before_last_pid, GetLastError());
+ trace("Could not open process with ID : %d, error : %u. Going to use current one.\n", one_before_last_pid, GetLastError());
process = GetCurrentProcess();
trace("ProcessTimes for current process\n");
}
@@ -733,7 +733,7 @@ static void test_query_process_handlecou
process = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, one_before_last_pid);
if (!process)
{
- trace("Could not open process with ID : %d, error : %08x. Going to use current one.\n", one_before_last_pid, GetLastError());
+ trace("Could not open process with ID : %d, error : %u. Going to use current one.\n", one_before_last_pid, GetLastError());
process = GetCurrentProcess();
trace("ProcessHandleCount for current process\n");
}
More information about the wine-cvs
mailing list