From: Jeffrey Altman Date: Thu, 28 Oct 2004 22:20:10 +0000 (+0000) Subject: ioctl-dbg-windows-20041028 X-Git-Tag: BP-disconnected~170 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f0824d9f4e06d2f305dcc63cf0d10f9fe3ccb805;p=packages%2Fo%2Fopenafs.git ioctl-dbg-windows-20041028 Output error codes in hex --- 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; }