From 9b7603b992e41b7e4f239b14d5af0eb02aaae634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 20 Jan 2009 04:40:57 +0000 Subject: [PATCH] This should definitely fix CD booting, it was still looking for the tgz at 192k while zbeos is now almost 300k... Maybe we need something more failproof but it shoudl do for now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28965 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/loader/file_systems/tarfs/tarfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/boot/loader/file_systems/tarfs/tarfs.cpp b/src/system/boot/loader/file_systems/tarfs/tarfs.cpp index 835ac4d988..053824c3cf 100644 --- a/src/system/boot/loader/file_systems/tarfs/tarfs.cpp +++ b/src/system/boot/loader/file_systems/tarfs/tarfs.cpp @@ -33,7 +33,7 @@ #endif -static const uint32 kFloppyArchiveOffset = 192 * 1024; // at 192 kB +static const uint32 kFloppyArchiveOffset = BOOT_ARCHIVE_IMAGE_OFFSET * 1024; // initially at 192 kB, now defined at build time static const size_t kTarRegionSize = 16 * 1024 * 1024; // 16 MB namespace TarFS {