From 568112ce6de82135b0bfd7b5319ffdd611e6b030 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 27 Jan 2012 01:14:01 +0100 Subject: srd: use format string where one is expected --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3-70-g09d2