diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-05-23 22:34:04 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-05-23 22:34:04 +0000 |
commit | 46190c447f7bff2b440073ae26820a183fb61edf (patch) | |
tree | 8214121d4f09d472a8678dbcabc6372a444bd65c /usr.bin/at | |
parent | 908f70d19a613beeddb2b6e13a7da82f4246b40b (diff) |
Fix cut and pasto, seconds value is now stored in dot, not p.
Diffstat (limited to 'usr.bin/at')
-rw-r--r-- | usr.bin/at/at.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 1ce3850c74e..42ad8fdea6f 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at.c,v 1.49 2007/05/23 22:30:53 millert Exp $ */ +/* $OpenBSD: at.c,v 1.50 2007/05/23 22:34:03 millert Exp $ */ /* * at.c : Put file into atrun queue @@ -42,7 +42,7 @@ #define TIMESIZE 50 /* Size of buffer passed to strftime() */ #ifndef lint -static const char rcsid[] = "$OpenBSD: at.c,v 1.49 2007/05/23 22:30:53 millert Exp $"; +static const char rcsid[] = "$OpenBSD: at.c,v 1.50 2007/05/23 22:34:03 millert Exp $"; #endif /* Variables to remove from the job's environment. */ @@ -823,7 +823,7 @@ ttime(char *arg) *dot++ = '\0'; if (strlen(dot) != 2) goto terr; - lt->tm_sec = ATOI2(p); + lt->tm_sec = ATOI2(dot); if (lt->tm_sec > 61) /* could be leap second */ goto terr; } |