Skip to content
Snippets Groups Projects
Commit d7d8eb70 authored by rswindell's avatar rswindell
Browse files

errorlog() function signature was changed.

parent 5899a303
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ static int lprintf(int level, const char *fmt, ...)
if(level <= LOG_ERR) {
char errmsg[sizeof(sbuf)+16];
SAFEPRINTF(errmsg, "stat %s", sbuf);
errorlog(&scfg, startup==NULL ? NULL:startup->host_name, errmsg);
errorlog(&scfg, level, startup==NULL ? NULL:startup->host_name, errmsg);
if(startup!=NULL && startup->errormsg!=NULL)
startup->errormsg(startup->cbdata,level,errmsg);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment