diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-04-11 17:32:25 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-04-11 17:32:25 -0400 |
commit | 7ff1280bbbd1feb28ce350e2878a4e65fe94627a (patch) | |
tree | 013e688d2b15348e20c6b66758f3d5ad3a65bcb6 | |
parent | a9a2840d8198e45a990519431aa26586bbac8932 (diff) |
util: correct off-by-one in month display
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |