]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-buf-dump-fix-20070203
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 3 Feb 2007 18:04:51 +0000 (18:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 3 Feb 2007 18:04:51 +0000 (18:04 +0000)
  restore the missing format string to the Buffer Hash Table Dump routine

(cherry picked from commit 84a0ef8e1a076e3fb03d8cb6bb72bba63679a700)

src/WINNT/afsd/cm_buf.c

index 4cac4385c56e6a3c5e0a75c8074aa2362ca077ec..19a974162b9ed40463b353d6d18baa9c36a43500 100644 (file)
@@ -1622,7 +1622,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);