summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-09-22 03:11:35 +0000
committerdteske <dteske@FreeBSD.org>2012-09-22 03:11:35 +0000
commit0552e7d2c38b816d8d506944d5f258ae1b5cd38d (patch)
treeeeaf0d80c6aa0791a7dcd3957c2cb9d0a0b7160d /usr.sbin/bsdconfig
parent237f230d342ebccc095163c92ea57d4f0217417c (diff)
downloadFreeBSD-src-0552e7d2c38b816d8d506944d5f258ae1b5cd38d.zip
FreeBSD-src-0552e7d2c38b816d8d506944d5f258ae1b5cd38d.tar.gz
Spelling and whitespace corrections.
Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
Diffstat (limited to 'usr.sbin/bsdconfig')
-rw-r--r--usr.sbin/bsdconfig/include/messages.subr2
-rw-r--r--usr.sbin/bsdconfig/share/common.subr6
-rw-r--r--usr.sbin/bsdconfig/share/sysrc.subr4
-rw-r--r--usr.sbin/bsdconfig/startup/share/rcconf.subr4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/bsdconfig/include/messages.subr b/usr.sbin/bsdconfig/include/messages.subr
index 282d936..fd38440 100644
--- a/usr.sbin/bsdconfig/include/messages.subr
+++ b/usr.sbin/bsdconfig/include/messages.subr
@@ -44,7 +44,7 @@ msg_no_such_file_or_directory="%s: %s: No such file or directory"
msg_no_username="No username provided!"
msg_not_found="not found"
msg_ok="OK"
-msg_permission_denied="%s: %s: permission denied"
+msg_permission_denied="%s: %s: Permission denied"
msg_please_enter_password="Please enter your password for sudo(8):"
msg_please_enter_username_password="Please enter a username and password for sudo(8):"
msg_previous_syntax_errors="%s: Not overwriting \`%s' due to previous syntax errors"
diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr
index c724c62..5305a85 100644
--- a/usr.sbin/bsdconfig/share/common.subr
+++ b/usr.sbin/bsdconfig/share/common.subr
@@ -63,12 +63,12 @@ f_dprintf()
#
f_err()
{
- printf "$@" >&2
+ printf "$@" >&2
}
# f_quietly $command [ $arguments ... ]
#
-# run a command quietly (quell any output to stdout or stderr)
+# Run a command quietly (quell any output to stdout or stderr)
#
f_quietly()
{
@@ -76,7 +76,7 @@ f_quietly()
}
# f_have $anything ...
-#
+#
# A wrapper to the `type' built-in. Returns true if argument is a valid shell
# built-in, keyword, or externally-tracked binary, otherwise false.
#
diff --git a/usr.sbin/bsdconfig/share/sysrc.subr b/usr.sbin/bsdconfig/share/sysrc.subr
index 014ab46..80deaa8 100644
--- a/usr.sbin/bsdconfig/share/sysrc.subr
+++ b/usr.sbin/bsdconfig/share/sysrc.subr
@@ -17,7 +17,7 @@ if [ ! "$_SYSRC_SUBR" ]; then _SYSRC_SUBR=1
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
@@ -166,7 +166,7 @@ f_sysrc_get()
#
# If the query was for `rc_conf_files' AND after calling
- # source_rc_confs the vaue has not changed, then we should
+ # source_rc_confs the value has not changed, then we should
# restore the value to the one inherited from RC_DEFAULTS
# before performing the final query (preventing us from
# returning what was set via RC_CONFS when the intent was
diff --git a/usr.sbin/bsdconfig/startup/share/rcconf.subr b/usr.sbin/bsdconfig/startup/share/rcconf.subr
index 25dec54..16cb290 100644
--- a/usr.sbin/bsdconfig/startup/share/rcconf.subr
+++ b/usr.sbin/bsdconfig/startup/share/rcconf.subr
@@ -113,8 +113,8 @@ f_startup_rcconf_map()
#
# Calculate digest used to determine if the on-disk global persistant
- # cache file (containg this digest on the first line) is valid and can
- # be used to quickly populate the cache value for immediate return.
+ # cache file (containing this digest on the first line) is valid and
+ # can be used to quickly populate the cache value for immediate return.
#
local rc_defaults_digest
rc_defaults_digest=$( md5 < "$RC_DEFAULTS" )
OpenPOWER on IntegriCloud