From: Jim Rees Date: Thu, 23 Mar 2006 16:43:28 +0000 (+0000) Subject: STABLE14-print-64-20051117 X-Git-Tag: openafs-stable-1_4_1~26 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=30e160950930cfa9befbf2e1722e2598453d4e81;p=packages%2Fo%2Fopenafs.git STABLE14-print-64-20051117 On non-Windows use %llu for 64 bit printf. Thanks to Brent Graveland for pointing this out. (cherry picked from commit d3f9842bd4897b1b5c580858c3cb17326900548c) --- diff --git a/src/venus/cmdebug.c b/src/venus/cmdebug.c index 50312a802..41a25a476 100644 --- a/src/venus/cmdebug.c +++ b/src/venus/cmdebug.c @@ -399,8 +399,13 @@ PrintCacheEntries64(struct rx_connection *aconn, int aint32) printf("\n"); } #ifdef AFS_64BIT_ENV +#ifdef AFS_NT40_ENV printf(" %012I64d bytes DV %012d refcnt %05d\n", centry.Length, centry.DataVersion, centry.refCount); +#else + printf(" %012llu bytes DV %012d refcnt %05d\n", centry.Length, + centry.DataVersion, centry.refCount); +#endif #else printf(" %012d bytes DV %012d refcnt %05d\n", centry.Length, centry.DataVersion, centry.refCount);