=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/date.y,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/cvs/date.y 2010/07/29 18:52:45 1.21 +++ src/usr.bin/cvs/date.y 2010/07/31 08:54:42 1.22 @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: date.y,v 1.21 2010/07/29 18:52:45 ray Exp $ */ +/* $OpenBSD: date.y,v 1.22 2010/07/31 08:54:42 ray Exp $ */ /* ** Originally written by Steven M. Bellovin while @@ -862,10 +862,7 @@ Start += tod; } - /* Have to do *something* with a legitimate -1 so it's distinguishable - * from the error return value. (Alternately could set errno on error.) - */ - return (Start == -1) ? (0) : (Start); + return Start; } #if defined(TEST)