X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=log.c;h=7fc16c93d517bf172f6dbb4f333af0df2144446c;hb=2a5d300610f6f3a30f25c2b40c2c18a0d513720d;hp=32aed704b06e20e595ef366661426103fac6342f;hpb=040ee979539e88ef71fb21a80d4a05d24961ae70;p=secnet.git 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 {