Author: dteske
Date: Fri Mar 14 02:37:39 2014
New Revision: 263133
URL: http://svnweb.freebsd.org/changeset/base/263133

Log:
  Remove indexfile from debug statement as it is already logged by
  f_index_menusel_command() used just-prior to this debug statement.
  Also, log the arguments being passed to the resword.

Modified:
  head/usr.sbin/bsdconfig/bsdconfig

Modified: head/usr.sbin/bsdconfig/bsdconfig
==============================================================================
--- head/usr.sbin/bsdconfig/bsdconfig   Fri Mar 14 02:37:07 2014        
(r263132)
+++ head/usr.sbin/bsdconfig/bsdconfig   Fri Mar 14 02:37:39 2014        
(r263133)
@@ -315,8 +315,7 @@ if [ "$pgm" != "bsdconfig" ]; then
        if indexfile=$( f_index_file "$pgm" ) &&
           cmd=$( f_index_menusel_command "$indexfile" "$pgm" )
        then
-               f_dprintf "pgm=[%s] indexfile=[%s] cmd=[%s]" \
-                         "$pgm" "$indexfile" "$cmd"
+               f_dprintf "pgm=[%s] cmd=[%s] *=[%s]" "$pgm" "$cmd" "$*"
                exec "$cmd" "$@" || exit 1
        else
                f_include $BSDCFG_SHARE/script.subr
_______________________________________________
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