[gnome-system-monitor] Fix to show cpu model on ARM.
- From: Chris Kühl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Fix to show cpu model on ARM.
- Date: Thu, 3 Mar 2011 19:56:59 +0000 (UTC)
commit a84ed33fb4c313d7cf67fac791aa063a997cb3af
Author: Debbie Beliveau <debbie beliveau canonical com>
Date: Thu Mar 3 20:55:44 2011 +0100
Fix to show cpu model on ARM.
https://bugzilla.gnome.org/show_bug.cgi?id=606769
src/sysinfo.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
index 5f28e0c..20c94b0 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]