summaryrefslogtreecommitdiff
path: root/kern/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/panic.h')
-rw-r--r--kern/panic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/panic.h b/kern/panic.h
index 9d1d31e0..cd0651a4 100644
--- a/kern/panic.h
+++ b/kern/panic.h
@@ -23,6 +23,7 @@
/*
* Print the given message and halt the system immediately.
*/
-void __noreturn panic(const char *format, ...) __format_printf(1, 2);
+void __noreturn panic(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
#endif /* _KERN_PANIC_H */