mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
afsd: squash inode format warning
Coerce the inode into an int, so we can predictably print it when we print debug info. Change-Id: I81533b66b632eb0fed3a9e37480feaf2fa92d510 Reviewed-on: http://gerrit.openafs.org/1720 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
269d7cc02a
commit
d29a2443f0
@ -1003,9 +1003,9 @@ doSweepAFSCache(int *vFilesFound,
|
||||
printf("\tinode=%" AFS_INT64_FMT ", reclen=%d, name='%s'\n", currp->d_ino,
|
||||
currp->d_reclen, currp->d_name);
|
||||
#elif defined(AFS_DFBSD_ENV)
|
||||
printf("\tinode=%d, name='%s'\n", currp->d_ino, currp->d_name);
|
||||
printf("\tinode=%ld, name='%s'\n", (long)currp->d_ino, currp->d_name);
|
||||
#else
|
||||
printf("\tinode=%d, reclen=%d, name='%s'\n", currp->d_ino,
|
||||
printf("\tinode=%ld, reclen=%d, name='%s'\n", (long)currp->d_ino,
|
||||
currp->d_reclen, currp->d_name);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user