aboutsummaryrefslogtreecommitdiff
path: root/modules/computer.c
diff options
context:
space:
mode:
authorTrung LĂȘ <trung.le@ruby-journal.com>2020-05-07 12:36:12 +1000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2020-05-09 10:47:29 -0700
commit10b1545a5ee32cf11b798481c713fd19396f7b33 (patch)
tree43b4eafa79bce4d62f6bc1276c6e1143aeeb2fd6 /modules/computer.c
parent049b78454846570c2e25ce94ace5286f7a5a8d95 (diff)
Fix format not a string literal warning
Fixes https://github.com/lpereira/hardinfo/issues/541
Diffstat (limited to 'modules/computer.c')
-rw-r--r--modules/computer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/computer.c b/modules/computer.c
index 0346e3e2..4b65a45c 100644
--- a/modules/computer.c
+++ b/modules/computer.c
@@ -544,7 +544,7 @@ gchar *callback_summary(void)
info_set_view_type(info, SHELL_VIEW_DETAIL);
info_add_group(info, _("Computer"),
- info_field_printf(_("Processor"),
+ info_field_printf(_("Processor"), "%s",
idle_free(module_call_method("devices::getProcessorNameAndDesc"))),
info_field_update(_("Memory"), 1000),
info_field_printf(_("Machine Type"), "%s",