summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-10-05 17:35:47 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-10-05 17:35:47 -0500
commit5d43599264f23482f84fbd82958ce60fac43c4b4 (patch)
tree260897d9c054fa18196d92137dd6ae16c4d17720 /src/include/kernel
parent86ac0669c13dddb64cc50a036544d4f67dc5dcd8 (diff)
downloadtalos-hostboot-5d43599264f23482f84fbd82958ce60fac43c4b4.tar.gz
talos-hostboot-5d43599264f23482f84fbd82958ce60fac43c4b4.zip
Support printk format warnings.
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/console.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/kernel/console.H b/src/include/kernel/console.H
index 31bb9c94a..e12f66a62 100644
--- a/src/include/kernel/console.H
+++ b/src/include/kernel/console.H
@@ -4,7 +4,7 @@
#include <stdint.h>
#include <string.h>
-void printk(const char*, ...);
+void printk(const char*, ...) __attribute__((format (printf, 1, 2)));
class Console
{
OpenPOWER on IntegriCloud