diff options
author | Bert Vermeulen <bert@biot.com> | 2012-01-27 01:14:01 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-01-27 01:14:01 +0100 |
commit | 568112ce6de82135b0bfd7b5319ffdd611e6b030 (patch) | |
tree | 3e9ea21ebe4e205bd5d548a1d1790e79e3bab24d | |
parent | bc1385a6d999c0011050b1cbd275879a928f4252 (diff) | |
download | libsigrokdecode-568112ce6de82135b0bfd7b5319ffdd611e6b030.tar.gz libsigrokdecode-568112ce6de82135b0bfd7b5319ffdd611e6b030.zip |
srd: use format string where one is expected
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |