diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-05-14 17:14:46 -0400 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-30 01:39:29 -0400 |
commit | d3a547be40008be590c169ff2d5d73cc7fada71d (patch) | |
tree | f844701c2a50e5f7e3138efa94f60d1622ae1ae0 /net/batman-adv/bat_debugfs.c | |
parent | 1b38bed562317701760b84cad12749985ceffb8b (diff) |
batman-adv: Annotate functions with format strings
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/bat_debugfs.c')
-rw-r--r-- | net/batman-adv/bat_debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/bat_debugfs.c index abaeec5f6247..4577d3fe9940 100644 --- a/net/batman-adv/bat_debugfs.c +++ b/net/batman-adv/bat_debugfs.c | |||
@@ -50,6 +50,7 @@ static void emit_log_char(struct debug_log *debug_log, char c) | |||
50 | debug_log->log_start = debug_log->log_end - log_buff_len; | 50 | debug_log->log_start = debug_log->log_end - log_buff_len; |
51 | } | 51 | } |
52 | 52 | ||
53 | __printf(2, 3) | ||
53 | static int fdebug_log(struct debug_log *debug_log, char *fmt, ...) | 54 | static int fdebug_log(struct debug_log *debug_log, char *fmt, ...) |
54 | { | 55 | { |
55 | va_list args; | 56 | va_list args; |