diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-06 12:55:49 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-06 12:55:49 +0000 |
commit | 79351fe42258544e9362cd3d4a737503dbe5ea43 (patch) | |
tree | 627bafb7ae7f2ab34fa4a3b24fbe949749b3a5e3 /usr.bin | |
parent | 93e23a2157000ad922e1e44c350e6fe6b2293315 (diff) |
replace abort() by return (-1)
from ray@ suggestion
"looks good" ray@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/date.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/date.y b/usr.bin/cvs/date.y index 9d913c6dc18..e2888e5b0a1 100644 --- a/usr.bin/cvs/date.y +++ b/usr.bin/cvs/date.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: date.y,v 1.16 2007/02/22 06:42:09 otto Exp $ */ +/* $OpenBSD: date.y,v 1.17 2007/10/06 12:55:48 chl Exp $ */ /* ** Originally written by Steven M. Bellovin <smb@research.att.com> while @@ -524,7 +524,7 @@ ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, MERIDIAN Meridian) Hours = 0; return ((Hours + 12) * 60L + Minutes) * 60L + Seconds; default: - abort(); + return (-1); } /* NOTREACHED */ } |