diff options
-rw-r--r-- | usr.sbin/config/mkoptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index 89af213..a6f44eb 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -194,7 +194,7 @@ do_option(name) for (ol = otab; ol != 0; ol = ol->o_next) if (eq(inw, ol->o_name)) break; - if (!seen && !ol) { + if (!eq(inw, name) && !ol) { printf("WARNING: unknown option `%s' removed from %s\n", inw, file); tidy++; |