diff options
Diffstat (limited to 'lib/libvirtio')
-rw-r--r-- | lib/libvirtio/virtio-blk.c | 6 | ||||
-rw-r--r-- | lib/libvirtio/virtio-net.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libvirtio/virtio-blk.c b/lib/libvirtio/virtio-blk.c index 0363038..471c4e1 100644 --- a/lib/libvirtio/virtio-blk.c +++ b/lib/libvirtio/virtio-blk.c @@ -111,10 +111,10 @@ static void fill_blk_hdr(struct virtio_blk_req *blkhdr, bool is_modern, * Read / write blocks * @param reg pointer to "reg" property * @param buf pointer to destination buffer - * @param blocknum block number of the first block that should be transfered - * @param cnt amount of blocks that should be transfered + * @param blocknum block number of the first block that should be transferred + * @param cnt number of blocks that should be transferred * @param type VIRTIO_BLK_T_OUT for write, VIRTIO_BLK_T_IN for read transfers - * @return number of blocks that have been transfered successfully + * @return number of blocks that have been transferred successfully */ int virtioblk_transfer(struct virtio_device *dev, char *buf, uint64_t blocknum, diff --git a/lib/libvirtio/virtio-net.c b/lib/libvirtio/virtio-net.c index 5a0d190..6609024 100644 --- a/lib/libvirtio/virtio-net.c +++ b/lib/libvirtio/virtio-net.c @@ -66,7 +66,7 @@ static uint16_t last_rx_idx; /* Last index in RX "used" ring */ /** * Module init for virtio via PCI. - * Checks whether we're reponsible for the given device and set up + * Checks whether we're responsible for the given device and set up * the virtqueue configuration. */ static int virtionet_init_pci(struct virtio_net *vnet, struct virtio_device *dev) |