diff --git a/server/main.c b/server/main.c index 4be8cab..9879a67 100644 --- a/server/main.c +++ b/server/main.c @@ -502,7 +502,7 @@ allow_host(GkrellmdClient *client, struct sockaddr *sa, socklen_t salen) snprintf(buf, sizeof(buf), _("Connection not allowed from %s\n"), hostname ? hostname : addr); - g_warning(buf), + g_warning("%s", buf), gkrellmd_send_to_client(client, "\n"); gkrellmd_send_to_client(client, buf); return FALSE; diff --git a/src/main.c b/src/main.c index a5f797a..55f5f5f 100644 --- a/src/main.c +++ b/src/main.c @@ -1854,7 +1854,7 @@ usage() gint i; for (i = 0; i < (sizeof(usage_string) / sizeof(gchar *)); ++i) - g_print(_(usage_string[i])); + g_print("%s", _(usage_string[i])); #endif }