git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
532147e
)
cast-pointer-20060126
author
Jim Rees
<rees@umich.edu>
Thu, 26 Jan 2006 18:11:23 +0000 (18:11 +0000)
committer
Jim Rees
<rees@umich.edu>
Thu, 26 Jan 2006 18:11:23 +0000 (18:11 +0000)
Cast pointer to long for printf.
"%p" would be a better fix, but is it supported on all platforms?
src/afs/afs_vcache.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_vcache.c
b/src/afs/afs_vcache.c
index
fbb7a5b
..
c338957
100644
(file)
--- a/
src/afs/afs_vcache.c
+++ b/
src/afs/afs_vcache.c
@@
-600,7
+600,7
@@
afs_FlushReclaimedVcaches(void)
We probably need a way to be smarter about this. */
tvc->nextfree = tmpReclaimedVCList;
tmpReclaimedVCList = tvc;
- printf("Reclaim list flush %x failed: %d\n", tvc, code);
+ printf("Reclaim list flush %lx failed: %d\n", (unsigned long) tvc, code);
}
}
if (tmpReclaimedVCList)