summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/console
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-01-14 21:03:34 +0000
committerdteske <dteske@FreeBSD.org>2013-01-14 21:03:34 +0000
commit9bcfc5995dcac43a412f130666f5c7f2e676ce60 (patch)
tree5d1c54eb9cb7c4cc3ddf698587787c35121d5ac1 /usr.sbin/bsdconfig/console
parent3386d88ffd8645a281dc469254815414cff93cd7 (diff)
downloadFreeBSD-src-9bcfc5995dcac43a412f130666f5c7f2e676ce60.zip
FreeBSD-src-9bcfc5995dcac43a412f130666f5c7f2e676ce60.tar.gz
Don't use f_show_msg() unless printf(1) syntax is required (this reduces the
number of unnecessary forks).
Diffstat (limited to 'usr.sbin/bsdconfig/console')
-rwxr-xr-xusr.sbin/bsdconfig/console/ttys2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/console/ttys b/usr.sbin/bsdconfig/console/ttys
index e1650da..3f9945e 100755
--- a/usr.sbin/bsdconfig/console/ttys
+++ b/usr.sbin/bsdconfig/console/ttys
@@ -192,7 +192,7 @@ while :; do
err=$( ttys_set_type "$consterm" 2>&1 )
[ "$err" ] || break
- f_show_msg "%s" "$err"
+ f_dialog_msgbox "$err"
done
exit $SUCCESS
OpenPOWER on IntegriCloud