summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index c89a74b..829bc15 100644
--- a/log.c
+++ b/log.c
@@ -166,7 +166,7 @@ static int srd_logv(void *data, int loglevel, const char *format, va_list args)
return SRD_OK; /* TODO? */
if (srd_log_domain[0] != '\0')
- fprintf(stderr, srd_log_domain);
+ fprintf(stderr, "%s", srd_log_domain);
ret = vfprintf(stderr, format, args);
fprintf(stderr, "\n");