mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix missing parentheses from r766.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@770 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
4cbc339ae7
commit
1f2d742bad
@@ -103,7 +103,7 @@ void ofmem_init( void )
|
|||||||
retain_t *retained = (retain_t *)RETAIN_OFMEM;
|
retain_t *retained = (retain_t *)RETAIN_OFMEM;
|
||||||
|
|
||||||
/* Clear all memory except any retained areas */
|
/* Clear all memory except any retained areas */
|
||||||
if (!retained->magic == RETAIN_MAGIC) {
|
if (!(retained->magic == RETAIN_MAGIC)) {
|
||||||
memset(&s_ofmem_data, 0, sizeof(s_ofmem_data));
|
memset(&s_ofmem_data, 0, sizeof(s_ofmem_data));
|
||||||
s_ofmem_data.ofmem.ramsize = qemu_mem_size;
|
s_ofmem_data.ofmem.ramsize = qemu_mem_size;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user