aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/wpa_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/wpa_debug.c')
-rw-r--r--src/utils/wpa_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/wpa_debug.c b/src/utils/wpa_debug.c
index 25b9162..4dd0732 100644
--- a/src/utils/wpa_debug.c
+++ b/src/utils/wpa_debug.c
@@ -56,7 +56,7 @@ void wpa_debug_print_timestamp(void)
*
* Note: New line '\n' is added to the end of the text when printing to stdout.
*/
-void wpa_printf(int level, char *fmt, ...)
+void wpa_printf(int level, const char *fmt, ...)
{
va_list ap;
@@ -267,7 +267,7 @@ void wpa_msg_register_cb(wpa_msg_cb_func func)
}
-void wpa_msg(void *ctx, int level, char *fmt, ...)
+void wpa_msg(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;
@@ -290,7 +290,7 @@ void wpa_msg(void *ctx, int level, char *fmt, ...)
}
-void wpa_msg_ctrl(void *ctx, int level, char *fmt, ...)
+void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;