From 2643c0dddd3cbd811f558f744c87a1fe1fff17d9 Mon Sep 17 00:00:00 2001 From: Michael Pfeiffer Date: Fri, 24 Oct 2008 20:46:50 +0000 Subject: [PATCH] Show size of partition. This should work even if the FS module is not on the image.. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28316 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bootman/LegacyBootDrive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/bootman/LegacyBootDrive.cpp b/src/apps/bootman/LegacyBootDrive.cpp index 6f0cd04335..49f9e44bc4 100644 --- a/src/apps/bootman/LegacyBootDrive.cpp +++ b/src/apps/bootman/LegacyBootDrive.cpp @@ -195,7 +195,7 @@ PartitionRecorder::_Record(BPartition* partition) message.AddString("type", type); message.AddString("path", partitionPath.Path()); message.AddInt8("drive", fDrive); - message.AddInt64("size", partition->ContentSize()); + message.AddInt64("size", partition->Size()); // Specific data off_t offset = partition->Offset(); message.AddInt64("offset", offset);