Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2010 05:27:05 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214654 - head/usr.sbin/config
Message-ID:  <201011020527.oA25R5mA021627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Tue Nov  2 05:27:05 2010
New Revision: 214654
URL: http://svn.freebsd.org/changeset/base/214654

Log:
  Give the user a hint as to what config(8) is unhappy with.

Modified:
  head/usr.sbin/config/mkmakefile.c

Modified: head/usr.sbin/config/mkmakefile.c
==============================================================================
--- head/usr.sbin/config/mkmakefile.c	Tue Nov  2 02:13:13 2010	(r214653)
+++ head/usr.sbin/config/mkmakefile.c	Tue Nov  2 05:27:05 2010	(r214654)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011020527.oA25R5mA021627>