summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_parsing.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-20 17:42:56 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-20 17:42:56 -0500
commita4c22653687fdc9a835089f4b35c193f9669827e (patch)
tree5c5e0d88a42761bc2ed0b3835dff52f8899cb20b /pts-core/functions/pts-functions_system_parsing.php
parent6ad2f83f41295f5adb8337a5cfa5e6f7716b0396 (diff)
downloadphoronix-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.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 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))
{