From 86e6759d0bc69ece7b0b9c59aaba6b535983d43c Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Tue, 3 Sep 2024 20:38:23 -0600 Subject: [PATCH] Fix umbtotal --- elks/init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elks/init/main.c b/elks/init/main.c index 5e21ab80a..62aaa9131 100644 --- a/elks/init/main.c +++ b/elks/init/main.c @@ -53,6 +53,7 @@ int tracing; int nr_ext_bufs, nr_xms_bufs, nr_map_bufs; char running_qemu; static int boot_console; +static segext_t umbtotal; static char bininit[] = "/bin/init"; static char binshell[] = "/bin/sh"; #ifdef CONFIG_SYS_NO_BININIT @@ -82,7 +83,6 @@ static struct umbseg { /* saves umb= lines during /bootopts parse */ seg_t base; segext_t len; } umbseg[MAX_UMB], *nextumb = umbseg; -static segext_t umbtotal; static unsigned char options[OPTSEGSZ]; extern int boot_rootdev;