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:
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to