From f096bc378db55f0694c292095ced86e5627a742b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 14 Sep 2003 16:51:15 +0000 Subject: [PATCH] Now sets the block size using the disk_environment information, and doesn't just copy the partition block size anymore. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4680 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/partitioning_systems/amiga/amiga_rdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/partitioning_systems/amiga/amiga_rdb.cpp b/src/add-ons/kernel/partitioning_systems/amiga/amiga_rdb.cpp index e2b72719a6..00bda2cd5f 100644 --- a/src/add-ons/kernel/partitioning_systems/amiga/amiga_rdb.cpp +++ b/src/add-ons/kernel/partitioning_systems/amiga/amiga_rdb.cpp @@ -194,7 +194,7 @@ amiga_rdb_scan_partition(int fd, partition_data *partition, void *_cookie) child->offset = partition->offset + environment.Start(); child->size = environment.Size(); - child->block_size = partition->block_size; + child->block_size = environment.BlockSize(); } if (status == B_ENTRY_NOT_FOUND)