aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/arm/processor.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-08-11 00:10:52 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-11 02:52:21 -0700
commit8de8535398ea0838301802ad7fc764144f9b3135 (patch)
tree4301a0174c18cc86db897cd5fd501e6fdbffee61 /modules/devices/arm/processor.c
parentecdc375c54201be5776ce93d665ee77f74b1167a (diff)
Make MHz translatable in CPU list
It was kindof translatable before, but as part of a messy use-once c-format string. In this form it is re-usable elsewhere. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/arm/processor.c')
-rw-r--r--modules/devices/arm/processor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/arm/processor.c b/modules/devices/arm/processor.c
index 0448f72a..e9446229 100644
--- a/modules/devices/arm/processor.c
+++ b/modules/devices/arm/processor.c
@@ -359,7 +359,7 @@ gchar *processor_get_info(GSList * processors)
for (l = processors; l; l = l->next) {
processor = (Processor *) l->data;
- tmp = g_strdup_printf(_("%s$CPU%d$%s=%.2f%s\n"),
+ tmp = g_strdup_printf("%s$CPU%d$%s=%.2f %s\n",
tmp, processor->id,
processor->model_name,
processor->cpu_mhz, _("MHz"));