diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-27 15:35:58 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-27 15:35:58 -0500 |
commit | 502ac8e9fb41cfc4fb24222e3ec0d1c2f3833ed8 (patch) | |
tree | 2406c26886dc9b3f979adf3c4811a3a845c25e40 /pts-core/functions/pts-functions_system_software.php | |
parent | e0bf310ff2f2b201c8f0cffbe3055ee7b11f2b07 (diff) | |
download | phoronix-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.php | 5 |
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() |