diff options
author | danh-arm <dan.handley@arm.com> | 2015-03-17 14:18:09 +0000 |
---|---|---|
committer | danh-arm <dan.handley@arm.com> | 2015-03-17 14:18:09 +0000 |
commit | 420c524249b1305fcafe8beae858b2fd2e3680eb (patch) | |
tree | 45bc53b2df57fb17cdb39b2b72ec82934bb9a0cb /include/common/debug.h | |
parent | 1ab2e902409c36875029b863a9e64f9f13605e5f (diff) | |
parent | dad25049cec0e30ca9771e435064ebf853d97bba (diff) |
Merge pull request #262 from sandrine-bailleux/sb/check-format-printf
Enable type-checking of arguments passed to printf() et al.
Diffstat (limited to 'include/common/debug.h')
-rw-r--r-- | include/common/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common/debug.h b/include/common/debug.h index a8dcb8da..d198c321 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -84,6 +84,6 @@ void __dead2 do_panic(void); #define panic() do_panic() -void tf_printf(const char *fmt, ...); +void tf_printf(const char *fmt, ...) __printflike(1, 2); #endif /* __DEBUG_H__ */ |