From a17e0dbbf8a9b6e1078e3d62bb0312f66e25bee4 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 2 Nov 2010 05:27:05 +0000 Subject: [PATCH] Give the user a hint as to what config(8) is unhappy with. --- usr.sbin/config/mkmakefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index 6a59698e18e..08e1b634ddb 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -382,8 +382,8 @@ next: mandatory = 1; } else if (!eq(wd, "optional")) { fprintf(stderr, - "%s: %s must be optional, mandatory or standard\n", - fname, this); + "%s: \"%s\" %s must be optional, mandatory or standard\n", + fname, wd, this); exit(1); } nextparam: