summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_parsing.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-31 09:53:37 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-31 09:53:37 -0400
commit79233aaeaa010a3cb8b0aad97c045dc612bd3cfe (patch)
tree20066d7560a676a77b27ef47775ca3f96d57c43c /pts-core/functions/pts-functions_system_parsing.php
parent8b5e5b64e97f78f4aee61fe9b6c52e4a285a5169 (diff)
downloadphoronix-test-suite-upstream-79233aaeaa010a3cb8b0aad97c045dc612bd3cfe.tar.gz
phoronix-test-suite-upstream-79233aaeaa010a3cb8b0aad97c045dc612bd3cfe.tar.xz
phoronix-test-suite-upstream-79233aaeaa010a3cb8b0aad97c045dc612bd3cfe.zip
pts-core: Add support for reading detailed RAM information on
OpenSolaris using DMI pts-core: Also add proximity searching support in read_sun_ddu_dmi_info()
Diffstat (limited to 'pts-core/functions/pts-functions_system_parsing.php')
-rw-r--r--pts-core/functions/pts-functions_system_parsing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php
index 1ab7c5b..7309e0f 100644
--- a/pts-core/functions/pts-functions_system_parsing.php
+++ b/pts-core/functions/pts-functions_system_parsing.php
@@ -754,7 +754,7 @@ function read_sun_ddu_dmi_info($object)
$this_section = $line_object;
}
- if($line_object == $object && $this_section == $section && !empty($this_value))
+ if($line_object == $object && ($this_section == $section || pts_proximity_match($section, $this_section)) && !empty($this_value))
{
array_push($values, $this_value);
}