Skip to contentSkip to conversation

virtio.c: fix error message

PATCH In review Michael Tokarev 2 participants 2 messages Jun 10, 2014 – Jun 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio.c: fix error message

---
 hw/virtio/virtio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio.c +1 -1
index 3557c17..a07ae8a 100644
@@ -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);
         }
     }
Signature · 1 line
1.7.10.4
Reviewed-by Benoit Canet on v1 1/1
#1 lore raw
Quoted 23 lines · Michael Tokarev
---
 hw/virtio/virtio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio.c +1 -1
index 3557c17..a07ae8a 100644
@@ -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);
         }
     }
Signature · 1 line
1.7.10.4