virtio.c: fix error message

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Michael Tokarev 2014-06-10 19:56:27 +04:00
parent e2bb4ae746
commit 1a2858995d
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
len = sg[i].iov_len;
sg[i].iov_base = cpu_physical_memory_map(addr[i], &len, is_write);
if (sg[i].iov_base == NULL || len != sg[i].iov_len) {
error_report("virtio: trying to map MMIO memory");
error_report("virtio: error trying to map MMIO memory");
exit(1);
}
}