git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a3da953
)
ioctl-dbg-windows-20041028
author
Jeffrey Altman
<jaltman@mit.edu>
Thu, 28 Oct 2004 22:20:10 +0000 (22:20 +0000)
committer
Jeffrey 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
patch
|
blob
|
history
diff --git
a/src/sys/pioctl_nt.c
b/src/sys/pioctl_nt.c
index
2441a45
..
cd2ca48
100644
(file)
--- 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;
}