diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-03 01:17:34 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-03 01:17:34 +0000 |
| commit | d00967831617fff7c000d0388050245a050aa2f1 (patch) | |
| tree | 99dc0d3698ae672c00ad37cdd453f8dd68c5eed4 /usr.sbin/tzsetup | |
| parent | 70dd5dab69ba74bc3949e5481786b7ad1e449fa4 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/tzsetup')
| -rw-r--r-- | usr.sbin/tzsetup/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/tzsetup/main.c b/usr.sbin/tzsetup/main.c index c0074dfc9e39..6869dd46aded 100644 --- a/usr.sbin/tzsetup/main.c +++ b/usr.sbin/tzsetup/main.c @@ -28,7 +28,7 @@ */ static const char rcsid[] = - "$Id: main.c,v 1.6 1996/03/31 09:55:00 joerg Exp $"; + "$Id: main.c,v 1.7 1996/04/01 08:17:49 joerg Exp $"; #include <sys/types.h> #include <sys/stat.h> @@ -232,10 +232,7 @@ setzone(const char *zone) systime += time_adjust; tm = localtime(&systime); - snprintf(msg, sizeof msg, - "Does %02d:%02d:%02d %d.%d.%04d %s look reasonable?", - tm->tm_hour, tm->tm_min, tm->tm_sec, tm->tm_mday, - tm->tm_mon + 1, tm->tm_year + 1900, tm->tm_zone); + snprintf(msg, sizeof msg, "Does %s look reasonable?", tm->tm_zone); rv = dialog_yesno("Verifying timezone selection", msg, -1, -1); |
