summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/media/nfs.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-07-05 16:00:01 +0000
committerdteske <dteske@FreeBSD.org>2013-07-05 16:00:01 +0000
commit0ac55ea171e6d82b0acc861ebcb19fb4db4958c4 (patch)
tree20324385a5f53dae148a2e6fa863df76ea68f69d /usr.sbin/bsdconfig/share/media/nfs.subr
parent1523d4a961431261ec396302c4112265ef2003c7 (diff)
downloadFreeBSD-src-0ac55ea171e6d82b0acc861ebcb19fb4db4958c4.zip
FreeBSD-src-0ac55ea171e6d82b0acc861ebcb19fb4db4958c4.tar.gz
Use f_show_msg() instead of f_dialog_msgbox() where appropriate. The main
difference between these two functions: Usage: f_show_msg() $format_string [ $format_args ... ] Usage: f_dialog_msgbox() $text [ $hline ] The former lends itself well to displaying the $msg_* i18n text, prompts, etc. While the latter is better for text you do not control (error strings captured as a response from external commands) -- or if you have to control the hline.
Diffstat (limited to 'usr.sbin/bsdconfig/share/media/nfs.subr')
-rw-r--r--usr.sbin/bsdconfig/share/media/nfs.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/media/nfs.subr b/usr.sbin/bsdconfig/share/media/nfs.subr
index 86bdde2..00ec85d 100644
--- a/usr.sbin/bsdconfig/share/media/nfs.subr
+++ b/usr.sbin/bsdconfig/share/media/nfs.subr
@@ -82,7 +82,7 @@ f_media_set_nfs()
case "$nfs" in
*:*) : valid NFS path ;;
*)
- f_dialog_msgbox "$msg_invalid_nfs_path_specification"
+ f_show_msg "$msg_invalid_nfs_path_specification"
return $FAILURE
esac
OpenPOWER on IntegriCloud