X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/blobdiff_plain/3f5f7b9ae51fcd4d8e47d68a5d45a0e2851f0f30..ee963828ff8a7352437f3950f895e25361afb52c:/log.c diff --git a/log.c b/log.c index 32aed70..7fc16c9 100644 --- a/log.c +++ b/log.c @@ -28,7 +28,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 {