]> git.saurik.com Git - apple/hfs.git/blobdiff - fsck_hfs/dfalib/SVerify2.c
hfs-556.100.11.tar.gz
[apple/hfs.git] / fsck_hfs / dfalib / SVerify2.c
index 4280b9cbca0eaba789406796e28eef16175c9d5c..1249cf76d1951c8a5e0112f66d2d24672fdd87a0 100644 (file)
@@ -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 <sys/ioctl.h>
@@ -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;
                                        }
                                }