kernel: specify number base of thread in exception output I got the exception wine: Unhandled page fault on read access to 0x00000034 at address 0x7da4ea8d (thread 0010), starting debugger... which was a bit confusing at first because addresses had the 0x prefix. Thomas Kho diff --git a/dlls/kernel/except.c b/dlls/kernel/except.c index 8ff81f2..be217e7 100644 --- a/dlls/kernel/except.c +++ b/dlls/kernel/except.c @@ -202,7 +202,8 @@ static BOOL start_debugger(PEXCEPTION_PO static const WCHAR AutoW[] = {'A','u','t','o',0}; format_exception_msg( epointers, buffer, sizeof(buffer) ); - MESSAGE("wine: %s (thread %04lx), starting debugger...\n", buffer, GetCurrentThreadId()); + MESSAGE("wine: %s (thread 0x%04lx), starting debugger...\n", buffer, + GetCurrentThreadId()); attr.Length = sizeof(attr); attr.RootDirectory = 0;