diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-08 15:09:40 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-08 15:09:40 +0000 |
commit | 22256f53cce03edd68d6d1a27a0ab9cc084c8eb2 (patch) | |
tree | aa4c48c4589164e8da677a481b6bdd5e3a6a268a /usr.sbin | |
parent | 3080f1fcaf87895aeb5342c4f3d6c23357437acc (diff) | |
download | FreeBSD-src-22256f53cce03edd68d6d1a27a0ab9cc084c8eb2.zip FreeBSD-src-22256f53cce03edd68d6d1a27a0ab9cc084c8eb2.tar.gz |
Disallow timezone specification, but still allow it to be present
if it is zero (so that we can parse old config files).
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/config/config.y | 4 |
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; } |