aboutsummaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/date.c b/date.c
index 93b078b45..6db3e2838 100644
--- a/date.c
+++ b/date.c
@@ -199,7 +199,7 @@ int date_main(int argc, char **argv)
199 date_conv_time(&tm_time, date_str); 199 date_conv_time(&tm_time, date_str);
200 } 200 }
201 201
202 /* Correct any day of week and day of year etc fields */ 202 /* Correct any day of week and day of year etc. fields */
203 tm = mktime(&tm_time); 203 tm = mktime(&tm_time);
204 if (tm < 0) 204 if (tm < 0)
205 error_msg_and_die(invalid_date, date_str); 205 error_msg_and_die(invalid_date, date_str);