diff options
Diffstat (limited to 'src/lib/krb4/stime.c')
-rw-r--r-- | src/lib/krb4/stime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb4/stime.c b/src/lib/krb4/stime.c index f90fbc5..780455c 100644 --- a/src/lib/krb4/stime.c +++ b/src/lib/krb4/stime.c @@ -32,8 +32,8 @@ char *krb_stime(t) adjusted_time = *t - CONVERT_TIME_EPOCH; tm = localtime(&adjusted_time); - (void) sprintf(st,"%2d-%s-%02d %02d:%02d:%02d",tm->tm_mday, - month_sname(tm->tm_mon + 1),tm->tm_year, + (void) sprintf(st,"%2d-%s-%d %02d:%02d:%02d",tm->tm_mday, + month_sname(tm->tm_mon + 1),1900+tm->tm_year, tm->tm_hour, tm->tm_min, tm->tm_sec); return st; } |