summaryrefslogtreecommitdiff
path: root/include/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index 9246e92b25..555bd1588f 100644
--- a/include/console.h
+++ b/include/console.h
@@ -115,6 +115,7 @@ int cputs(enum console_channel channel, const char *outstr);
*
* @return non-zero if output was truncated.
*/
+__attribute__((__format__(__printf__, 2, 3)))
int cprintf(enum console_channel channel, const char *format, ...);
/**
@@ -126,6 +127,7 @@ int cprintf(enum console_channel channel, const char *format, ...);
*
* @return non-zero if output was truncated.
*/
+__attribute__((__format__(__printf__, 2, 3)))
int cprints(enum console_channel channel, const char *format, ...);
/**