diff --git a/src/ui_manager.c b/src/ui_manager.c
index 2867a8b..1388c48 100644
--- a/src/ui_manager.c
+++ b/src/ui_manager.c
@@ -182,7 +182,7 @@ void ui_fail(ui_state *ui, const gchar *message, ...)
     g_vsnprintf(formatted_message, 1024, message, ap);
     va_end(ap);
 
-    fprintf(stderr, formatted_message);
+    fprintf(stderr, "%s", formatted_message);
     fflush(stderr);
   }
 
