commit 8b5ee89f13534b37b4da5a5e7fbfa4324f2b3fdf
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Feb 17 16:13:40 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Feb 17 16:13:40 2018 +0200
Add format string attribute to I_Error
---
src/i_system.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/i_system.h b/src/i_system.h
index 049774a7..1b023d17 100644
--- a/src/i_system.h
+++ b/src/i_system.h
@@ -52,7 +52,7 @@ ticcmd_t* I_BaseTiccmd (void);
// Clean exit, displays sell blurb.
void I_Quit (void);
-void I_Error (char *error, ...);
+void I_Error (char *error, ...) PRINTF_ATTR(1, 2);
void I_Tactile (int on, int off, int total);