]> git.saurik.com Git - apple/bootx.git/blobdiff - bootx.tproj/sl.subproj/raid.c
BootX-81.tar.gz
[apple/bootx.git] / bootx.tproj / sl.subproj / raid.c
index b57d96bd793ff9b375a47111d42d63c16448a2de..5adc12b63c707ae4b081cd0beedb2aafb01bf8fa 100644 (file)
@@ -433,9 +433,11 @@ int nsuccesses = 0;
        RAIDDevicePtr newLeaf = &gMembers[gTotalMembers++];  // burn entries
        if(FillInLeaf(partSpec, newLeaf))  continue;
 
-       // is this the master (from whose Apple_Boot we loaded?
+       // is this the master (from whose Apple_Boot we loaded)?
+       // if either device doesn't exist (e.g. if both FindDevice calls
+       // returned NULL), we'd fail later.
         if(FindDevice(newLeaf->path) == FindDevice(masterMemberPath)) {
-printf("raid: found member affiliated with our boot device\n");
+         printf("raid: found member affiliated with our boot device\n");
           gRAIDMaster = newLeaf;
        }