aboutsummaryrefslogtreecommitdiff
path: root/lib/libvirtio/virtio-blk.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-02-22 16:40:56 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2023-02-28 16:12:57 +1100
commit9604efb1832de13b51f93ad0a3581f9ed6dc04b5 (patch)
tree67b01f8c25785243baedd3863df657baa3d086a2 /lib/libvirtio/virtio-blk.c
parentac9eac38755af41c114bef5515aa6863ad648d86 (diff)
downloadSLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.zip
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.gz
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.bz2
Fix typos in the remaining lib folders
Found with the "codespell" utility. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libvirtio/virtio-blk.c')
-rw-r--r--lib/libvirtio/virtio-blk.c6
1 files changed, 3 insertions, 3 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,