Date: Mon, 6 Dec 2021 12:58:33 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 998959cd613d - main - kbdmap: adapt to the new bsddialog api Message-ID: <202112061258.1B6CwXXN088111@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=998959cd613d6162cec7b0c7a05183127c724471 commit 998959cd613d6162cec7b0c7a05183127c724471 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-12-06 12:58:09 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2021-12-06 12:58:25 +0000 kbdmap: adapt to the new bsddialog api --- usr.sbin/kbdmap/kbdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index 2783d2368e0e..c3ed13237b8d 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -388,7 +388,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) listitems[i].name = km_sorted[i]->desc; listitems[i].desc = __DECONST(char *, ""); } - result = bsddialog_menu(conf, __DECONST(char *, menu), 0, 0, 0, + result = bsddialog_menu(&conf, __DECONST(char *, menu), 0, 0, 0, num_keymaps, listitems, NULL); bsddialog_end(); switch (result) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112061258.1B6CwXXN088111>