summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-12-21 20:11:41 +0000
committerdteske <dteske@FreeBSD.org>2012-12-21 20:11:41 +0000
commit9edf4bc88d16b92b26123709c9a3c7eb3fa4073d (patch)
tree6a278e12a271b41553983e8a20f156937aa6bd3e /usr.sbin/bsdconfig/share
parent0a2c07efd7e9c79cacd9992d18e5e0ab0c5f1915 (diff)
downloadFreeBSD-src-9edf4bc88d16b92b26123709c9a3c7eb3fa4073d.zip
FreeBSD-src-9edf4bc88d16b92b26123709c9a3c7eb3fa4073d.tar.gz
Use f_show_help() where printf(1) syntax is desired.
Diffstat (limited to 'usr.sbin/bsdconfig/share')
-rw-r--r--usr.sbin/bsdconfig/share/mustberoot.subr6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/bsdconfig/share/mustberoot.subr b/usr.sbin/bsdconfig/share/mustberoot.subr
index ac0fd76..078b950 100644
--- a/usr.sbin/bsdconfig/share/mustberoot.subr
+++ b/usr.sbin/bsdconfig/share/mustberoot.subr
@@ -338,16 +338,14 @@ f_authenticate_some_user()
case "$user" in
root|toor)
nfailures=$(( $nfailures + 1 ))
- f_dialog_msgbox "$( printf \
- "$msg_user_disallowed" "$user" )"
+ f_show_msg "$msg_user_disallowed" "$user"
continue
esac
fi
if ! f_quietly id "$user"; then
nfailures=$(( $nfailures + 1 ))
if [ "$SECURE_DIVULGE_UNKNOWN_USER" ]; then
- f_dialog_msgbox "$( printf \
- "$msg_unknown_user" "$user" )"
+ f_show_msg "$msg_unknown_user" "$user"
elif [ $nfailures -lt $PASSWD_TRIES ]; then
f_dialog_info "$msg_sorry_try_again"
sleep 1
OpenPOWER on IntegriCloud