From: Todd C. Miller Date: Fri, 18 Sep 2009 12:12:35 +0000 (+0000) Subject: Print year when formatting log line X-Git-Tag: SUDO_1_7_3~287 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89fa08f7e6cca63722309c677af7893edbab4bbb;p=sudo Print year when formatting log line --- diff --git a/sudoreplay.c b/sudoreplay.c index 5eaf70597..fa4253616 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -635,7 +635,7 @@ list_session_dir(pathbuf, re, user, tty) idstr[5] = pathbuf[plen + 2]; idstr[6] = '\0'; printf("%s : %s : TTY=%s ; CWD=%s ; USER=%s ; ", - get_timestr(li.tstamp, 0), li.user, li.tty, li.cwd, li.runas_user); + get_timestr(li.tstamp, 1), li.user, li.tty, li.cwd, li.runas_user); if (*li.runas_group) printf("GROUP=%s ; ", li.runas_group); printf("TSID=%s ; COMMAND=%s\n", idstr, li.cmd);