diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-20 17:42:56 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-20 17:42:56 -0500 |
commit | a4c22653687fdc9a835089f4b35c193f9669827e (patch) | |
tree | 5c5e0d88a42761bc2ed0b3835dff52f8899cb20b /pts-core/functions/pts-functions_system_parsing.php | |
parent | 6ad2f83f41295f5adb8337a5cfa5e6f7716b0396 (diff) | |
download | phoronix-test-suite-upstream-a4c22653687fdc9a835089f4b35c193f9669827e.tar.gz phoronix-test-suite-upstream-a4c22653687fdc9a835089f4b35c193f9669827e.tar.xz phoronix-test-suite-upstream-a4c22653687fdc9a835089f4b35c193f9669827e.zip |
pts-core: Return false on failure from read_pci() instead of "Unknown"
string
Diffstat (limited to 'pts-core/functions/pts-functions_system_parsing.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 2 |
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 0484022..f08bd88 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -145,7 +145,7 @@ function read_pci($desc, $clean_string = true) { // Read PCI bus information static $pci_info = null; - $info = "Unknown"; + $info = false; if(empty($pci_info)) { |