svn commit: r256322 - head/usr.sbin/bsdconfig/share

Devin Teske dteske at FreeBSD.org
Fri Oct 11 17:54:22 UTC 2013


Author: dteske
Date: Fri Oct 11 17:54:22 2013
New Revision: 256322
URL: http://svnweb.freebsd.org/changeset/base/256322

Log:
  Fix a minor bug; if strings.subr was included by itself it may not have
  access to f_dprintf from common.subr -- fix this by including common.subr.
  
  Approved by:	re (glebius)

Modified:
  head/usr.sbin/bsdconfig/share/strings.subr

Modified: head/usr.sbin/bsdconfig/share/strings.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/strings.subr	Fri Oct 11 17:52:43 2013	(r256321)
+++ head/usr.sbin/bsdconfig/share/strings.subr	Fri Oct 11 17:54:22 2013	(r256322)
@@ -26,6 +26,11 @@ if [ ! "$_STRINGS_SUBR" ]; then _STRINGS
 #
 # $FreeBSD$
 #
+############################################################ INCLUDES
+
+BSDCFG_SHARE="/usr/share/bsdconfig"
+. $BSDCFG_SHARE/common.subr || exit 1
+
 ############################################################ GLOBALS
 
 #


More information about the svn-src-head mailing list