From f0824d9f4e06d2f305dcc63cf0d10f9fe3ccb805 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 28 Oct 2004 22:20:10 +0000 Subject: [PATCH] ioctl-dbg-windows-20041028 Output error codes in hex --- src/sys/pioctl_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/pioctl_nt.c b/src/sys/pioctl_nt.c index 2441a450f..cd2ca487f 100644 --- a/src/sys/pioctl_nt.c +++ b/src/sys/pioctl_nt.c @@ -530,7 +530,7 @@ pioctl(char *pathp, long opcode, struct ViceIoctl *blobp, int follow) CloseHandle(reqHandle); errno = CMtoUNIXerror(temp); if ( IoctlDebug() ) - fprintf(stderr, "pioctl temp != 0: %d\r\n",temp); + fprintf(stderr, "pioctl temp != 0: 0x%X\r\n",temp); return -1; } -- 2.39.5