diff options
badwolf.c: Always set a format in *printf calls
Potential bug found via printf-scan aka pscan
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | badwolf.c | 6 |
@@ -91,15 +91,15 @@ WebViewCb_web_process_terminated(WebKitWebView *webView, switch(reason) { case WEBKIT_WEB_PROCESS_CRASHED: - fprintf(stderr, _("the web process crashed.\n")); + fprintf(stderr, "%s", _("the web process crashed.\n")); webView_tab_label_change(browser, _("title|Crashed")); break; case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: - fprintf(stderr, _("the web process exceeded the memory limit.\n")); + fprintf(stderr, "%s", _("the web process exceeded the memory limit.\n")); webView_tab_label_change(browser, _("title|Out of Memory")); break; default: - fprintf(stderr, _("the web process terminated for an unknown reason.\n")); + fprintf(stderr, "%s", _("the web process terminated for an unknown reason.\n")); webView_tab_label_change(browser, _("title|Unknown Crash")); } |