X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/389070fed67552c613ce5afd3cdb436f8f8c538f..7908f2c6b5be419f8f4031876139953d4ee8340d:/log.c diff --git a/log.c b/log.c index f4ef800..837ed55 100644 --- a/log.c +++ b/log.c @@ -29,7 +29,7 @@ static void vMessage(uint32_t class, const char *message, va_list args) /* Each line is sent separately */ while ((nlp=strchr(buff,'\n'))) { *nlp=0; - slilog(system_log,class,buff); + slilog(system_log,class,"%s",buff); memmove(buff,nlp+1,strlen(nlp+1)+1); } } else {