]> git.saurik.com Git - apple/hfs.git/blobdiff - fsck_hfs/dfalib/SControl.c
hfs-556.100.11.tar.gz
[apple/hfs.git] / fsck_hfs / dfalib / SControl.c
index 5ee6c40d6cfe54bd32d48211965b025b0983eeb2..43b2eda48034e85bff6ea9f8590a9325d881ced9 100644 (file)
@@ -501,7 +501,7 @@ termScav:
                int rv = CacheRead(&fscache, offset, len, &buf);
                if (rv == 0) {
                        fprintf(stderr, "Offset %llu length %u:\n", offset, len);
-                       DumpData(buf->Buffer, len);
+                       DumpData(buf->Buffer, len, NULL);
                        CacheRelease(&fscache, buf, 0);
                } else {
                        fprintf(stderr, "%s(%d):  rv = %d\n", __FUNCTION__, __LINE__, rv);
@@ -1349,7 +1349,7 @@ static int ScavSetUp( SGlob *GPtr)
        InitializeVolumeObject( GPtr );
 
        /* Check if the volume type of initialized object is valid.  If not, return error */
-       if (VolumeObjectIsValid() == false) {
+       if (VolumeObjectIsValid(GPtr) == false) {
                return (R_BadSig);
        }