aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-10-24 00:02:23 +0000
committerWarner Losh <imp@FreeBSD.org>2006-10-24 00:02:23 +0000
commitf4359e4e36f9804877e4fe08c11e2bab3379f875 (patch)
treefb30b989d7b73f344caf2cf6cb046ce4f17acb7f /usr.sbin/config
parent82336c7dbb7504902d33d7f254f7d0af38014b00 (diff)
Notes
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 344a7774c011..714dbe1853d8 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -191,6 +191,9 @@ Config_spec:
} |
HINTS ID
= {
+ if (hints != NULL)
+ errx(1, "More than one 'hints' line at %s:%d",
+ yyfile, yyline);
hints = $2;
hintmode = 1;
}