diff options
Diffstat (limited to 'usr/src/cmd/cron/cron.c')
-rw-r--r-- | usr/src/cmd/cron/cron.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/cmd/cron/cron.c b/usr/src/cmd/cron/cron.c index 54d3c9d971..ab36d09037 100644 --- a/usr/src/cmd/cron/cron.c +++ b/usr/src/cmd/cron/cron.c @@ -23,6 +23,8 @@ * Use is subject to license terms. * * Copyright 2013 Joshua M. Clulow <josh@sysmgr.org> + * + * Copyright (c) 2014 Gary Mills */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ @@ -549,7 +551,7 @@ begin: } else { ne_time = next_event->time - t; #ifdef DEBUG - cftime(timebuf, "%C", &next_event->time); + cftime(timebuf, "%+", &next_event->time); (void) fprintf(stderr, "next_time=%ld %s\n", next_event->time, timebuf); #endif @@ -623,7 +625,7 @@ begin: next_time(next_event, (time_t)0); } #ifdef DEBUG - cftime(timebuf, "%C", &next_event->time); + cftime(timebuf, "%+", &next_event->time); (void) fprintf(stderr, "pushing back cron event %s at %ld (%s)\n", next_event->cmd, next_event->time, timebuf); @@ -1271,7 +1273,7 @@ again: } cte_valid(); #ifdef DEBUG - cftime(timebuf, "%C", &e->time); + cftime(timebuf, "%+", &e->time); (void) fprintf(stderr, "inserting cron event %s at %ld (%s)\n", e->cmd, e->time, timebuf); #endif |