summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/date.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/date.y')
-rw-r--r--usr.bin/cvs/date.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/date.y b/usr.bin/cvs/date.y
index 494af2b3933..3421ebda471 100644
--- a/usr.bin/cvs/date.y
+++ b/usr.bin/cvs/date.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: date.y,v 1.20 2010/07/23 21:46:05 ray Exp $ */
+/* $OpenBSD: date.y,v 1.21 2010/07/29 18:52:45 ray Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
@@ -814,7 +814,7 @@ date_parse(const char *p)
if (time(&nowtime) == -1 || !gmtime_r(&nowtime, &gmt) ||
!localtime_r(&nowtime, &tm))
- fatal("date_parse failed");
+ return -1;
tz = difftm(&gmt, &tm) / 60;