diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-01-31 17:54:39 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-01-31 17:54:39 +0000 |
| commit | 68abb9f9db724eb8cf8c24ed6dc0766204837a35 (patch) | |
| tree | 93ccdf4f5870418071d54cd5c08a34d6ce12b039 | |
| parent | ce0d1cd5dba3d36a6622558acd53fb3d6c0fdd96 (diff) | |
Notes
| -rw-r--r-- | usr.bin/at/parsetime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index 64c4eeaea1ee..30e9043ed085 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -116,7 +116,7 @@ static char *sc_token; /* scanner - token buffer */ static size_t sc_len; /* scanner - lenght of token buffer */ static int sc_tokid; /* scanner - token id */ -static char rcsid[] = "$Id: parsetime.c,v 1.1 1993/12/05 11:37:05 cgd Exp $"; +static char rcsid[] = "$Id: parsetime.c,v 1.1 1994/01/05 01:09:08 nate Exp $"; /* Local functions */ @@ -447,7 +447,7 @@ month(tm) */ mon = (sc_tokid-JAN); expect(NUMBER); - mday = atol(sc_token)-1; + mday = atol(sc_token); if (token() == NUMBER) { year = atol(sc_token); token(); |
