From 10b1545a5ee32cf11b798481c713fd19396f7b33 Mon Sep 17 00:00:00 2001 From: Trung LĂȘ Date: Thu, 7 May 2020 12:36:12 +1000 Subject: Fix format not a string literal warning Fixes https://github.com/lpereira/hardinfo/issues/541 --- modules/computer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3