Fix an uninitialized variable from the previous commit.
This commit is contained in:
parent
938608cb45
commit
4e4ce82e0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190600
@ -231,7 +231,8 @@ cpu_startup(dummy)
|
||||
if (sysenv != NULL) {
|
||||
memsize = (uintmax_t)strtoul(sysenv, (char **)NULL, 10);
|
||||
freeenv(sysenv);
|
||||
}
|
||||
} else
|
||||
memsize = 0;
|
||||
if (memsize > 0)
|
||||
printf("real memory = %ju (%ju MB)\n", memsize << 10,
|
||||
memsize >> 10);
|
||||
|
@ -278,7 +278,8 @@ cpu_startup(dummy)
|
||||
if (sysenv != NULL) {
|
||||
memsize = (uintmax_t)strtoul(sysenv, (char **)NULL, 10);
|
||||
freeenv(sysenv);
|
||||
}
|
||||
} else
|
||||
memsize = 0;
|
||||
if (memsize > 0)
|
||||
printf("real memory = %ju (%ju MB)\n", memsize << 10,
|
||||
memsize >> 10);
|
||||
|
Loading…
Reference in New Issue
Block a user