summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-01-13 16:42:16 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-01-13 16:42:16 +0000
commitd0e4f29150b70c6db15b3bb2245e00de82a7cb7d (patch)
tree2de5e630a0ea09f59bb01bc9a3fe9536593c39b6 /usr.sbin
parentd3183a65c9e24fe00dcccaf85ef60f8badbe1128 (diff)
downloadFreeBSD-src-d0e4f29150b70c6db15b3bb2245e00de82a7cb7d.zip
FreeBSD-src-d0e4f29150b70c6db15b3bb2245e00de82a7cb7d.tar.gz
Use auto-sizing syntax appropriate for the new dialog(1). This should
probably be modified to use libdialog.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/kbdmap/kbdmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c
index cb00c6d..93c5a08 100644
--- a/usr.sbin/kbdmap/kbdmap.c
+++ b/usr.sbin/kbdmap/kbdmap.c
@@ -337,7 +337,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps)
exit(1);
}
asprintf(&dialog, "/usr/bin/dialog --clear --title \"Keyboard Menu\" "
- "--menu \"%s\" -1 -1 10", menu);
+ "--menu \"%s\" 0 0 0", menu);
ext = extract_name(dir);
OpenPOWER on IntegriCloud