X-Git-Url: https://git.saurik.com/apple/hfs.git/blobdiff_plain/51e135ce018217de5c809f4ac236ef6b6d87ef97..HEAD:/fsck_hfs/dfalib/SVerify2.c diff --git a/fsck_hfs/dfalib/SVerify2.c b/fsck_hfs/dfalib/SVerify2.c index 4280b9c..1249cf7 100644 --- a/fsck_hfs/dfalib/SVerify2.c +++ b/fsck_hfs/dfalib/SVerify2.c @@ -27,7 +27,7 @@ Version: xxx put version here xxx - Copyright: © 1997-1999 by Apple Computer, Inc., all rights reserved. + Copyright: � 1997-1999 by Apple Computer, Inc., all rights reserved. */ #include @@ -1307,8 +1307,9 @@ static int BTKeyChk( SGlobPtr GPtr, NodeDescPtr nodeP, BTreeControlBlock *btcb ) } else { - RcdError( GPtr, E_KeyOrd ); - plog("Records %d and %d (0-based); offsets 0x%04X and 0x%04X\n", index-1, index, (long)prevkeyP - (long)nodeP, (long)keyPtr - (long)nodeP); + RcdError( GPtr, E_KeyOrd ); + if (fsckGetVerbosity(GPtr->context) > 0) + plog("Records %d and %d (0-based); offsets 0x%04X and 0x%04X\n", index-1, index, (long)prevkeyP - (long)nodeP, (long)keyPtr - (long)nodeP); result = E_KeyOrd; } }