summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/mkoptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config/mkoptions.c')
-rw-r--r--usr.sbin/config/mkoptions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c
index 1b8b332..4cfa098 100644
--- a/usr.sbin/config/mkoptions.c
+++ b/usr.sbin/config/mkoptions.c
@@ -103,8 +103,8 @@ options(void)
do_option(ol->o_name);
for (op = opt; op; op = op->op_next) {
if (!op->op_ownfile && strncmp(op->op_name, "DEV_", 4)) {
- printf("%s:%d: unknown option \"%s\"\n",
- PREFIX, op->op_line, op->op_name);
+ printf("%s: unknown option \"%s\"\n",
+ PREFIX, op->op_name);
exit(1);
}
}
@@ -141,8 +141,8 @@ do_option(char *name)
value = ns("1");
if (oldvalue != NULL && !eq(value, oldvalue))
printf(
- "%s:%d: option \"%s\" redefined from %s to %s\n",
- PREFIX, op->op_line, op->op_name, oldvalue,
+ "%s: option \"%s\" redefined from %s to %s\n",
+ PREFIX, op->op_name, oldvalue,
value);
op->op_ownfile++;
}
OpenPOWER on IntegriCloud