summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-10-06 02:46:23 +0000
committerjkh <jkh@FreeBSD.org>1995-10-06 02:46:23 +0000
commitedc5cbc960eb072befe775f7b08491807b8e943e (patch)
tree62e80dbf18c906b7e6068341aa082ab0c6c3ec8d /usr.sbin/tzsetup
parentd240b35afdf2a2b6fa8e5c9849aa9f2bd20c20fd (diff)
downloadFreeBSD-src-edc5cbc960eb072befe775f7b08491807b8e943e.zip
FreeBSD-src-edc5cbc960eb072befe775f7b08491807b8e943e.tar.gz
Don't put up bogus confirmation dialog.
Diffstat (limited to 'usr.sbin/tzsetup')
-rw-r--r--usr.sbin/tzsetup/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tzsetup/main.c b/usr.sbin/tzsetup/main.c
index f7d0e21..4351bbb 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.2.2.1 1995/06/06 04:51:22 jkh Exp $";
+ "$Id: main.c,v 1.3 1995/06/11 19:33:05 rgrimes Exp $";
#include <stdio.h>
#include <ncurses.h>
@@ -208,6 +208,7 @@ setzone(const char *zone)
systime += time_adjust;
tm = localtime(&systime);
+#if 0 /* This never prints the right value! :( */
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,
@@ -217,6 +218,7 @@ setzone(const char *zone)
msg, -1, -1);
if (rv)
return 1;
+#endif
snprintf(msg, sizeof msg, PATH_ZONEINFO "/%s", zone);
ifp = fopen(msg, "r");
OpenPOWER on IntegriCloud