summaryrefslogtreecommitdiffstats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorStefan Weil2015-04-09 20:32:39 +0200
committerMichael Tokarev2015-04-30 15:05:48 +0200
commit631b22ea206300f09b9d1bb9249169e0f0092639 (patch)
tree553f7812616182e77747de094d69a89ff46ee985 /hw/net/virtio-net.c
parenthw/display : remove 'struct' from 'typedef QXL struct' (diff)
downloadqemu-631b22ea206300f09b9d1bb9249169e0f0092639.tar.gz
qemu-631b22ea206300f09b9d1bb9249169e0f0092639.tar.xz
qemu-631b22ea206300f09b9d1bb9249169e0f0092639.zip
misc: Fix new collection of typos
All of them were reported by codespell. Most typos are in comments, one is in an error message. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net/virtio-net.c')
-rw-r--r--hw/net/virtio-net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 59f76bcf76..67ab228e41 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -1590,7 +1590,7 @@ static void virtio_net_device_realize(DeviceState *dev, Error **errp)
n->max_queues = MAX(n->nic_conf.peers.queues, 1);
if (n->max_queues * 2 + 1 > VIRTIO_PCI_QUEUE_MAX) {
error_setg(errp, "Invalid number of queues (= %" PRIu32 "), "
- "must be a postive integer less than %d.",
+ "must be a positive integer less than %d.",
n->max_queues, (VIRTIO_PCI_QUEUE_MAX - 1) / 2);
virtio_cleanup(vdev);
return;