From 35d98182c5b86c25eb4e7fd18fc68f240683960b Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 1 Mar 2015 14:40:30 -0500 Subject: vprintf and panic formatting --- include/kernel/panic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/kernel/panic.h') diff --git a/include/kernel/panic.h b/include/kernel/panic.h index db53e8e..7baeaa9 100644 --- a/include/kernel/panic.h +++ b/include/kernel/panic.h @@ -1 +1 @@ -void panic(const char*, ...); +void panic(const char*, ...) __attribute__ ((format (printf, 1, 2))); -- cgit v1.1