Correct a comment from my last commit.

This commit is contained in:
Alexander Langer 1998-01-08 02:23:59 +00:00
parent 2dc3422762
commit 7417978572
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32329

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: shutdown.c,v 1.8 1997/08/23 14:10:34 joerg Exp $ * $Id: shutdown.c,v 1.9 1998/01/08 02:21:30 alex Exp $
*/ */
#ifndef lint #ifndef lint
@ -391,7 +391,7 @@ getoffset(timearg)
*/ */
if (lt->tm_year < (this_year % 100) - 1) if (lt->tm_year < (this_year % 100) - 1)
lt->tm_year += 100; lt->tm_year += 100;
/* adjust for centuries beyond 2000 */ /* adjust for the year 2000 and beyond */
lt->tm_year += (this_year - (this_year % 100)); lt->tm_year += (this_year - (this_year % 100));
/* FALLTHROUGH */ /* FALLTHROUGH */
case 8: case 8: