Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=e5998d91d521b5405da3eb4831ed33dde584c449
commit e5998d91d521b5405da3eb4831ed33dde584c449 Author: James Buren <[email protected]> Date: Tue Aug 28 00:39:00 2012 -0500 fix reporting of remaining unused space diff --git a/Device.hh b/Device.hh index 903dff8..f252a36 100644 --- a/Device.hh +++ b/Device.hh @@ -42,7 +42,7 @@ public: { lastpart = getPartition(last - 1); - size = sectorsToSize(usable_sectors - lastpart->getSectors()); + size = sectorsToSize(usable_sectors - lastpart->getEnd()); } return sizeToString(size); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
