aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/010-cpu-model-arm.patch
blob: c5c4a65ab29f17ff8760493e007f96ae91ff09ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From a84ed33fb4c313d7cf67fac791aa063a997cb3af Mon Sep 17 00:00:00 2001
From: Debbie Beliveau <debbie.beliveau@canonical.com>
Date: Thu, 03 Mar 2011 19:55:44 +0000
Subject: Fix to show cpu model on ARM.

https://bugzilla.gnome.org/show_bug.cgi?id=606769
---
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)
--
cgit v0.9