summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 344a777..714dbe1 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;
}
OpenPOWER on IntegriCloud