summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/password
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdconfig/password')
-rwxr-xr-xusr.sbin/bsdconfig/password/password2
-rw-r--r--usr.sbin/bsdconfig/password/share/password.subr4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bsdconfig/password/password b/usr.sbin/bsdconfig/password/password
index 2a69dfd..20c0f14 100755
--- a/usr.sbin/bsdconfig/password/password
+++ b/usr.sbin/bsdconfig/password/password
@@ -75,7 +75,7 @@ f_mustberoot_init
if f_dialog_input_password; then
err=$( echo "$pw_password" | pw usermod $USER_ROOT -h 0 2>&1 ) ||
f_die $? "%s" "$err"
- f_dialog_msgbox "$msg_password_changed"
+ f_show_msg "$msg_password_changed"
fi
return $SUCCESS
diff --git a/usr.sbin/bsdconfig/password/share/password.subr b/usr.sbin/bsdconfig/password/share/password.subr
index 5002e41..05db7f1 100644
--- a/usr.sbin/bsdconfig/password/share/password.subr
+++ b/usr.sbin/bsdconfig/password/share/password.subr
@@ -100,13 +100,13 @@ f_dialog_input_password()
# Check for NULL entry
if ! [ "$_password1" -o "$_password2" ]; then
- f_dialog_msgbox "$msg_password_is_empty"
+ f_show_msg "$msg_password_is_empty"
continue
fi
# Check for password mismatch
if [ "$_password1" != "$_password2" ]; then
- f_dialog_msgbox "$msg_passwords_do_not_match"
+ f_show_msg "$msg_passwords_do_not_match"
continue
fi
OpenPOWER on IntegriCloud