Commit Diff


commit - 527ce07d18ae4482d7b1d554c8b22b87404fb418
commit + afd4e08d82771042ea8df99e3aec46afe9053cbc
blob - c417a4bd4fd064ba673eb1896de1ce173ba6197d
blob + 9b44e46d14511b7293e8b8c91beeeb844502741a
--- fm.c
+++ fm.c
@@ -609,7 +609,7 @@ update_view()
 }
 
 /* Show a message on the status bar. */
-static void
+static void __attribute__((format(printf, 2, 3)))
 message(enum color c, char *fmt, ...)
 {
 	int len, pos;