diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-18 17:22:11 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-18 17:22:11 -0500 |
commit | 62f9537a4eed59f4f870f421d9cea046b6ecec1f (patch) | |
tree | 06596973630a2e8409edfa8a93a226488ded0b43 /pts-core | |
parent | 08b1a8695b5107f21f4efbf3e8a19d56687dd99e (diff) | |
download | phoronix-test-suite-upstream-62f9537a4eed59f4f870f421d9cea046b6ecec1f.tar.gz phoronix-test-suite-upstream-62f9537a4eed59f4f870f421d9cea046b6ecec1f.tar.xz phoronix-test-suite-upstream-62f9537a4eed59f4f870f421d9cea046b6ecec1f.zip |
pts-core: Improve size detection of low-capacity hard disks
Diffstat (limited to 'pts-core')
-rw-r--r-- | pts-core/functions/pts-functions_system_hardware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_hardware.php b/pts-core/functions/pts-functions_system_hardware.php index 44a883a..dd69ec4 100644 --- a/pts-core/functions/pts-functions_system_hardware.php +++ b/pts-core/functions/pts-functions_system_hardware.php @@ -256,7 +256,7 @@ function hw_sys_hdd_string() $disk_size /= 1024; } - if($disk_size > 10 && $disk_size % 10 != 0) + if($disk_size > 32 && $disk_size % 10 != 0) { $disk_size *= 1.01; $mod = $disk_size % 10; |