diff --git a/util.c b/util.c index d5dc781f..72a086a3 100644 --- a/util.c +++ b/util.c @@ -80,7 +80,7 @@ void applog(int prio, const char *fmt, ...) f = alloca(len); sprintf(f, "[%d-%02d-%02d %02d:%02d:%02d] %s\n", tm.tm_year + 1900, - tm.tm_mon, + tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min,