1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-27 01:10:17 +00:00

3B2: Properly NULL-terminate IU mod arrays

This commit is contained in:
Seth Morabito
2023-06-07 16:13:43 -07:00
committed by Paul Koning
parent ea5bcf97b3
commit 76da2c0da8

View File

@@ -233,7 +233,8 @@ MTAB contty_mod[] = {
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 1, "CONNECTIONS", NULL,
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display current connection" },
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 0, "STATISTICS", NULL,
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display CONTTY statistics" }
NULL, &tmxr_show_cstat, (void *)&contty_desc, "Display CONTTY statistics" },
{ 0 }
};
CONST char *brg_rates[IU_SPEED_REGS][IU_SPEEDS] = {
@@ -276,7 +277,8 @@ DEVICE contty_dev = {
MTAB iu_timer_mod[] = {
{ MTAB_XTD|MTAB_VDV|MTAB_VALR, 0, "MULT", "MULT={1|2|3|4}",
&iu_timer_set_mult, &iu_timer_show_mult, NULL, "Timer Multiplier" }
&iu_timer_set_mult, &iu_timer_show_mult, NULL, "Timer Multiplier" },
{ 0 }
};
REG iu_timer_reg[] = {