From d3a547be40008be590c169ff2d5d73cc7fada71d Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sat, 14 May 2011 23:14:46 +0200 Subject: batman-adv: Annotate functions with format strings Signed-off-by: Sven Eckelmann --- net/batman-adv/bat_debugfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'net/batman-adv/bat_debugfs.c') 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) debug_log->log_start = debug_log->log_end - log_buff_len; } +__printf(2, 3) static int fdebug_log(struct debug_log *debug_log, char *fmt, ...) { va_list args; -- cgit v1.2.3