From c39811b8b3ee653affa785867dc51d2cff64fb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 18 Jun 2009 14:29:15 +0000 Subject: [PATCH] * 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 --- src/system/kernel/fs/vfs_boot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/fs/vfs_boot.cpp b/src/system/kernel/fs/vfs_boot.cpp index 957b3d677a..dc43af9e9a 100644 --- a/src/system/kernel/fs/vfs_boot.cpp +++ b/src/system/kernel/fs/vfs_boot.cpp @@ -447,7 +447,7 @@ vfs_mount_boot_file_system(kernel_args* args) if (bootPartition->GetPath(&path) != B_OK) panic("could not get boot device!\n"); - const char *fsName = NULL; + const char* fsName = NULL; bool readOnly = false; if (strcmp(bootPartition->ContentType(), "ISO9660 File System") == 0) { 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())); gBootDevice = _kern_mount("/boot", path.Path(), fsName, 0, NULL, 0); if (gBootDevice >= B_OK) { - gReadOnlyBootDevice = true; + gReadOnlyBootDevice = readOnly; break; } }