Disallow multiple 'machine' directives in a kernel configuration

file.

Reviewed by:	ru, bde
This commit is contained in:
jkoshy 2003-07-06 02:00:52 +00:00
parent ff07f3efa8
commit 246ff0a3e7

View File

@ -126,6 +126,9 @@ Spec:
Config_spec:
ARCH Save_id
= {
if (machinename != NULL)
errx(1, "%s:%d: only one machine directive is allowed",
yyfile, yyline);
machinename = $2;
} |
CPU Save_id