* Fixed stupid typo with big consequences as pointed out by Rene. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31098 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-06-18 14:29:15 +00:00
parent ae53f49064
commit c39811b8b3
+2 -2
View File
@@ -447,7 +447,7 @@ vfs_mount_boot_file_system(kernel_args* args)
if (bootPartition->GetPath(&path) != B_OK) if (bootPartition->GetPath(&path) != B_OK)
panic("could not get boot device!\n"); panic("could not get boot device!\n");
const char *fsName = NULL; const char* fsName = NULL;
bool readOnly = false; bool readOnly = false;
if (strcmp(bootPartition->ContentType(), "ISO9660 File System") == 0) { if (strcmp(bootPartition->ContentType(), "ISO9660 File System") == 0) {
fsName = "iso9660:write_overlay:attribute_overlay"; fsName = "iso9660:write_overlay:attribute_overlay";
@@ -457,7 +457,7 @@ vfs_mount_boot_file_system(kernel_args* args)
TRACE(("trying to mount boot partition: %s\n", path.Path())); TRACE(("trying to mount boot partition: %s\n", path.Path()));
gBootDevice = _kern_mount("/boot", path.Path(), fsName, 0, NULL, 0); gBootDevice = _kern_mount("/boot", path.Path(), fsName, 0, NULL, 0);
if (gBootDevice >= B_OK) { if (gBootDevice >= B_OK) {
gReadOnlyBootDevice = true; gReadOnlyBootDevice = readOnly;
break; break;
} }
} }