diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-08 13:58:22 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-08 13:58:22 -0400 |
commit | abcc8c2866339848dd2e354ef47292a5c5f80e93 (patch) | |
tree | 0e4b49fde41d4a8e262d336b7625ed113ff50bda /pts-core | |
parent | 042c64960acf8caceda434a5503259fe21835982 (diff) | |
download | phoronix-test-suite-upstream-abcc8c2866339848dd2e354ef47292a5c5f80e93.tar.gz phoronix-test-suite-upstream-abcc8c2866339848dd2e354ef47292a5c5f80e93.tar.xz phoronix-test-suite-upstream-abcc8c2866339848dd2e354ef47292a5c5f80e93.zip |
Fix bug in parsing function renaming
Diffstat (limited to 'pts-core')
-rw-r--r-- | pts-core/functions/pts-functions_monitor.php | 3 | ||||
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions_monitor.php b/pts-core/functions/pts-functions_monitor.php index 6624e27..078c6f0 100644 --- a/pts-core/functions/pts-functions_monitor.php +++ b/pts-core/functions/pts-functions_monitor.php @@ -235,7 +235,8 @@ function pts_monitor_statistics() } // terminal output - echo pts_string_header($info_report); + if(!empty($info_report)) + echo pts_string_header($info_report); if(count($m_array[0]) > 1 && !empty($url)) { diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php index 472ac21..1d0cb7f 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -47,7 +47,7 @@ function read_hal($name, $UDI = NULL) return $info; } -function readh_system_hal($name) +function read_system_hal($name) { return read_hal($name, "/org/freedesktop/Hal/devices/computer"); } |