diff -r c9497192e1f9 -r 9e61d0d70e9a wdmisc_plugin/wdmisc.cpp --- a/wdmisc_plugin/wdmisc.cpp Tue Feb 12 20:34:27 2013 -0600 +++ b/wdmisc_plugin/wdmisc.cpp Tue Feb 12 21:06:32 2013 -0600 @@ -115,7 +115,7 @@ // on, which makes the code a bit less readable than doing just a "strstr" // on the log line. -void wd_AlertMessage(ALERT_TYPE atype, char *szFmt, ...) { +void wd_AlertMessage(ALERT_TYPE atype, const char *szFmt, ...) { va_list ap; static char buf[MAX_LOGMSG_LEN]; char *cp, *ep;