mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
windows-buf-dump-fix-20070203
restore the missing format string to the Buffer Hash Table Dump routine
This commit is contained in:
parent
1e44ef074a
commit
84a0ef8e1a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user