[PATCH] server_ioctl_file() - Prefix printed hex values with '0x'
Chris Morgan
chmorgan at gmail.com
Wed Mar 1 19:55:36 CST 2017
Avoids the ambiguity with non-alphanumeric hex values.
Signed-off-by: Chris Morgan <chmorgan at gmail.com>
---
dlls/ntdll/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index fd7f3dd..4d081b7 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -1567,7 +1567,7 @@ static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
SERVER_END_REQ;
if (status == STATUS_NOT_SUPPORTED)
- FIXME("Unsupported ioctl %x (device=%x access=%x func=%x method=%x)\n",
+ FIXME("Unsupported ioctl 0x%x (device=0x%x access=0x%x func=0x%x method=0x%x)\n",
code, code >> 16, (code >> 14) & 3, (code >> 2) & 0xfff, code & 3);
if (status != STATUS_PENDING) RtlFreeHeap( GetProcessHeap(), 0, async );
--
2.9.3
More information about the wine-patches
mailing list