svn commit: r214654 - head/usr.sbin/config

David E. O'Brien obrien at FreeBSD.org
Tue Nov 2 05:27:06 UTC 2010


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:


More information about the svn-src-all mailing list