summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGE-LOG4
-rw-r--r--pts-core/functions/pts-functions_system_hardware.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGE-LOG b/CHANGE-LOG
index 3d23219..7d3a1bf 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,5 +1,9 @@
PHORONIX TEST SUITE CHANGE-LOG
+Phoronix Test Suite (Git)
+
+- pts-core: Improve size detection of low-capacity hard disks
+
Phoronix Test Suite 1.6.0 Beta 1
December 18, 2008
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;