aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/bat_debugfs.c')
-rw-r--r--net/batman-adv/bat_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/bat_debugfs.c
index 628ab185e9ee..1049ae3f5367 100644
--- a/net/batman-adv/bat_debugfs.c
+++ b/net/batman-adv/bat_debugfs.c
@@ -51,7 +51,7 @@ static void emit_log_char(struct debug_log *debug_log, char c)
51} 51}
52 52
53__printf(2, 3) 53__printf(2, 3)
54static int fdebug_log(struct debug_log *debug_log, char *fmt, ...) 54static int fdebug_log(struct debug_log *debug_log, const char *fmt, ...)
55{ 55{
56 va_list args; 56 va_list args;
57 static char debug_log_buf[256]; 57 static char debug_log_buf[256];
@@ -75,7 +75,7 @@ static int fdebug_log(struct debug_log *debug_log, char *fmt, ...)
75 return 0; 75 return 0;
76} 76}
77 77
78int debug_log(struct bat_priv *bat_priv, char *fmt, ...) 78int debug_log(struct bat_priv *bat_priv, const char *fmt, ...)
79{ 79{
80 va_list args; 80 va_list args;
81 char tmp_log_buf[256]; 81 char tmp_log_buf[256];