diff options
author | imp <imp@FreeBSD.org> | 2006-10-24 00:02:23 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-10-24 00:02:23 +0000 |
commit | f4f64df7ffac74a20b81485d903f1915b833b7e1 (patch) | |
tree | fb30b989d7b73f344caf2cf6cb046ce4f17acb7f | |
parent | c7db2750ccbe06f7357540a17bae353d0993fa05 (diff) | |
download | FreeBSD-src-f4f64df7ffac74a20b81485d903f1915b833b7e1.zip FreeBSD-src-f4f64df7ffac74a20b81485d903f1915b833b7e1.tar.gz |
Since multiple hints lines do not work, make doing that a fatal error.
-rw-r--r-- | usr.sbin/config/config.y | 3 |
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; } |