Skip to content

Commit

Permalink
Fix umbtotal
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Sep 4, 2024
1 parent 3732c2d commit 86e6759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elks/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 86e6759

Please sign in to comment.