summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-17 15:19:29 +0100
committerinfirit <[email protected]>2014-12-17 17:23:02 +0100
commitb56028d2ed7b93f408b97d356d0ddb75e707b2d5 (patch)
tree0280d718a388683fc47ed5113ff185e2bd741e15
parentb249cf780ab12125d8ac680879d24c4ce2e3a3fe (diff)
downloadmate-system-monitor-b56028d2ed7b93f408b97d356d0ddb75e707b2d5.tar.bz2
mate-system-monitor-b56028d2ed7b93f408b97d356d0ddb75e707b2d5.tar.xz
Fix to show cpu model on ARM
Taken from GSM commit: a84ed33fb4c313d7cf67fac791aa063a997cb3af From: Debbie Beliveau <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=606769
-rw-r--r--src/sysinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
index a54aa89..82cdcf7 100644
--- a/src/sysinfo.cpp
+++ b/src/sysinfo.cpp
@@ -105,7 +105,7 @@ namespace {
const glibtop_sysinfo *info = glibtop_get_sysinfo();
for (guint i = 0; i != info->ncpu; ++i) {
- const char * const keys[] = { "model name", "cpu" };
+ const char * const keys[] = { "model name", "cpu", "Processor" };
gchar *model = 0;
for (guint j = 0; !model && j != G_N_ELEMENTS(keys); ++j)