git: 998959cd613d - main - kbdmap: adapt to the new bsddialog api
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Dec 2021 12:58:33 UTC
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) {