diff options
Diffstat (limited to 'dev/zba')
| -rw-r--r-- | dev/zba/BootKit/BootKit.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/zba/BootKit/BootKit.hxx b/dev/zba/BootKit/BootKit.hxx index a29316e2..5c2805fc 100644 --- a/dev/zba/BootKit/BootKit.hxx +++ b/dev/zba/BootKit/BootKit.hxx @@ -315,11 +315,11 @@ namespace Boot /// @note A catalog roughly equal to a sector. - constexpr auto cMinimumDiskSize = 4; // at minimum. + constexpr auto cMinimumDiskSize = kNeFSMinimumDiskSize; // at minimum. /// @note also look at EPM headers, for free part blocks. - if (GIB(fDiskDev.GetDiskSize()) < cMinimumDiskSize) + if (fDiskDev.GetDiskSize() < cMinimumDiskSize) { EFI::ThrowError(L"Drive-Too-Tiny", L"Can't format a New Filesystem partition here."); return false; |
