From fcaed0c1a501d79779e1790b82ecff5bbc7daed5 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Fri, 11 Oct 2013 17:54:22 +0000 Subject: [PATCH] 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) --- usr.sbin/bsdconfig/share/strings.subr | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.sbin/bsdconfig/share/strings.subr b/usr.sbin/bsdconfig/share/strings.subr index 0a77048c2a6..fcff5ce4eba 100644 --- a/usr.sbin/bsdconfig/share/strings.subr +++ b/usr.sbin/bsdconfig/share/strings.subr @@ -26,6 +26,11 @@ if [ ! "$_STRINGS_SUBR" ]; then _STRINGS_SUBR=1 # # $FreeBSD$ # +############################################################ INCLUDES + +BSDCFG_SHARE="/usr/share/bsdconfig" +. $BSDCFG_SHARE/common.subr || exit 1 + ############################################################ GLOBALS #