From: Jeffrey Altman Date: Sat, 3 Feb 2007 18:03:55 +0000 (+0000) Subject: windows-buf-dump-fix-20070203 X-Git-Tag: BP-openafs-windows-kdfs-ifs~829 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=84a0ef8e1a076e3fb03d8cb6bb72bba63679a700;p=packages%2Fo%2Fopenafs.git windows-buf-dump-fix-20070203 restore the missing format string to the Buffer Hash Table Dump routine --- diff --git a/src/WINNT/afsd/cm_buf.c b/src/WINNT/afsd/cm_buf.c index 4f5f22728..4669c1fe9 100644 --- a/src/WINNT/afsd/cm_buf.c +++ b/src/WINNT/afsd/cm_buf.c @@ -1570,7 +1570,9 @@ int cm_DumpBufHashTable(FILE *outputFile, char *cookie, int lock) { if (bp->refCount) { - StringCbPrintfA(output, sizeof(output), "vnode=%d, unique=%d), size=%d refCount=%d\r\n", + StringCbPrintfA(output, sizeof(output), + "%s bp=0x%08X, hash=%d, fid (cell=%d, volume=%d, " + "vnode=%d, unique=%d), size=%d refCount=%d\r\n", cookie, (void *)bp, i, bp->fid.cell, bp->fid.volume, bp->fid.vnode, bp->fid.unique, bp->size, bp->refCount); WriteFile(outputFile, output, (DWORD)strlen(output), &zilch, NULL);