]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
ioctl-dbg-windows-20041028
authorJeffrey Altman <jaltman@mit.edu>
Thu, 28 Oct 2004 22:20:10 +0000 (22:20 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 28 Oct 2004 22:20:10 +0000 (22:20 +0000)
Output error codes in hex

src/sys/pioctl_nt.c

index 2441a450fde5f1de1437b4fd5c9a3ee4913b6d62..cd2ca487f15d845780734a6e53940320a3a37b69 100644 (file)
@@ -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;
     }