summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/config/config.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 69b29b3..9a041d0 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -932,8 +932,8 @@ check_nexus(dev, num)
check_tz()
{
- if (abs(zone) > 12 * 60)
- yyerror("timezone is unreasonable");
+ if (zone != 0 || dst != 0)
+ yyerror("timezone specification is no longer permitted");
else
hadtz = 1;
}
OpenPOWER on IntegriCloud