From 3f2188ad1ad5463910d55d5bfe1b2776ab13c797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 12 Sep 2003 07:10:45 +0000 Subject: [PATCH] Partition::AddChild() created its child with the wrong file descriptor; i.e. it passed partition_data::volume which used to be the correct descriptor earlier, but is now unused in the boot loader partition support. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4643 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/loader/partitions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/boot/loader/partitions.cpp b/src/kernel/boot/loader/partitions.cpp index a13d6c5f4e..8aa6d59dfe 100644 --- a/src/kernel/boot/loader/partitions.cpp +++ b/src/kernel/boot/loader/partitions.cpp @@ -158,7 +158,7 @@ Partition::Type() const Partition * Partition::AddChild() { - Partition *child = new Partition(volume); + Partition *child = new Partition(fFD); if (child == NULL) return NULL; @@ -271,7 +271,7 @@ create_child_partition(partition_id id, int32 index, partition_id childID) // we cannot do anything with the child here, because it was not // yet initialized by the partition module. - TRACE(("new child partition!")); + TRACE(("new child partition!\n")); return child; }