From 8190734fe0fd5a589fb16b17abfcf3dea31a8a62 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 17 May 2020 11:40:45 -0700 Subject: Fix more formatting errors --- includes/hardinfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/hardinfo.h b/includes/hardinfo.h index 34586549..737a854b 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -137,7 +137,8 @@ void module_unload_all(void); const ModuleAbout *module_get_about(ShellModule *module); gchar *seconds_to_string(unsigned int seconds); -gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...); +gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...) + __attribute__((format(gnu_printf, 1, 3))); gchar *h_strconcat(gchar *string1, ...); void h_hash_table_remove_all (GHashTable *hash_table); -- cgit v1.2.3