diff --git a/gnu/usr.bin/dialog/dialog.c b/gnu/usr.bin/dialog/dialog.c index 16c426dd9d7..060ad75b7ed 100644 --- a/gnu/usr.bin/dialog/dialog.c +++ b/gnu/usr.bin/dialog/dialog.c @@ -230,8 +230,8 @@ int main(int argc, unsigned char *argv[]) init_dialog(); retval = dialog_menu(title, argv[offset+2], atoi(argv[offset+3]), atoi(argv[offset+4]), atoi(argv[offset+5]), - (argc-offset-6)/2, argv+offset + 6, result); - + (argc-offset-6)/2, argv+offset + 6, result, + NULL, NULL); dialog_update(); if (retval == 0) fputs(result, stderr); diff --git a/sbin/sysinstall/stage0.c b/sbin/sysinstall/stage0.c index 3611e65cf8d..8c5a3679b34 100644 --- a/sbin/sysinstall/stage0.c +++ b/sbin/sysinstall/stage0.c @@ -48,7 +48,7 @@ stage0() { evil_goto: if (dialog_menu("Welcome to FreeBSD!", - "Use ALT-F2 and ALT-F1 to toggle between debugging\ninformation screen (ALT-F2) or this dialog screen (ALT-F1)\n\nPlease select one of the following options:", -1, -1, 8, 8, welcome, selection)) + "Use ALT-F2 and ALT-F1 to toggle between debugging\ninformation screen (ALT-F2) or this dialog screen (ALT-F1)\n\nPlease select one of the following options:", -1, -1, 8, 8, welcome, selection, NULL, NULL)) ExitSysinstall(); switch (atoi(selection)) {