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

src/WINNT/afsd/cm_buf.c

index 4f5f22728c06d7e00901f755147fcec369320a79..4669c1fe981e1572d150c7554fda1d069a9943ca 100644 (file)
@@ -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);