summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_software.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-27 15:35:58 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-27 15:35:58 -0500
commit502ac8e9fb41cfc4fb24222e3ec0d1c2f3833ed8 (patch)
tree2406c26886dc9b3f979adf3c4811a3a845c25e40 /pts-core/functions/pts-functions_system_software.php
parente0bf310ff2f2b201c8f0cffbe3055ee7b11f2b07 (diff)
downloadphoronix-test-suite-upstream-502ac8e9fb41cfc4fb24222e3ec0d1c2f3833ed8.tar.gz
phoronix-test-suite-upstream-502ac8e9fb41cfc4fb24222e3ec0d1c2f3833ed8.tar.xz
phoronix-test-suite-upstream-502ac8e9fb41cfc4fb24222e3ec0d1c2f3833ed8.zip
pts-core: Clean up Display / X.Org server reported string
Diffstat (limited to 'pts-core/functions/pts-functions_system_software.php')
-rw-r--r--pts-core/functions/pts-functions_system_software.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system_software.php b/pts-core/functions/pts-functions_system_software.php
index eb5e7fd..01bc701 100644
--- a/pts-core/functions/pts-functions_system_software.php
+++ b/pts-core/functions/pts-functions_system_software.php
@@ -422,6 +422,11 @@ function sw_os_graphics_subsystem()
$info = trim(substr($info, strrpos($info, "Server") + 6));
}
+ if($info != "Unknown")
+ {
+ $info = "X.Org Server " . $info;
+ }
+
return $info;
}
function sw_os_username()