diff options
author | Stefan Weil | 2015-04-09 20:32:39 +0200 |
---|---|---|
committer | Michael Tokarev | 2015-04-30 15:05:48 +0200 |
commit | 631b22ea206300f09b9d1bb9249169e0f0092639 (patch) | |
tree | 553f7812616182e77747de094d69a89ff46ee985 /hw/net/virtio-net.c | |
parent | hw/display : remove 'struct' from 'typedef QXL struct' (diff) | |
download | qemu-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.c | 2 |
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; |