Revision 492fb99c

b/arch_init.c
390 390
                host = qemu_get_ram_ptr(addr);
391 391
            else
392 392
                host = host_from_stream_offset(f, addr, flags);
393
            if (!host) {
394
                return -EINVAL;
395
            }
393 396

  
394 397
            ch = qemu_get_byte(f);
395 398
            memset(host, ch, TARGET_PAGE_SIZE);

Also available in: Unified diff