mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 07:59:23 +00:00
Disallow timezone specification, but still allow it to be present
if it is zero (so that we can parse old config files).
This commit is contained in:
parent
e80859e4d6
commit
021ce2d62e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1949
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user