From: Jim Rees Date: Wed, 2 Nov 2005 17:54:44 +0000 (+0000) Subject: cmdebug-obsd-ce32-20051102 X-Git-Tag: openafs-devel-1_5_0~208 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e240c805e238e803ae910487c9f87ee98f508414;p=packages%2Fo%2Fopenafs.git cmdebug-obsd-ce32-20051102 OpenBSD has no easy way to printf a 64 bit int so just use PrintCacheEntries32 --- diff --git a/src/venus/cmdebug.c b/src/venus/cmdebug.c index 71181b9fe..4b16affa3 100644 --- a/src/venus/cmdebug.c +++ b/src/venus/cmdebug.c @@ -453,11 +453,15 @@ PrintCacheEntries(struct rx_connection *aconn, int aint32) register afs_int32 code; struct AFSDBCacheEntry64 centry64; +#ifdef AFS_OBSD_ENV + return PrintCacheEntries32(aconn, aint32); +#else code = RXAFSCB_GetCE64(aconn, 0, ¢ry64); if (code != RXGEN_OPCODE) return PrintCacheEntries64(aconn, aint32); else return PrintCacheEntries32(aconn, aint32); +#endif } int