Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2013 17:54:22 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256322 - head/usr.sbin/bsdconfig/share
Message-ID:  <201310111754.r9BHsMnw015320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 #



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