summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Voutila <dv@cvs.openbsd.org>2022-05-13 16:46:35 +0000
committerDave Voutila <dv@cvs.openbsd.org>2022-05-13 16:46:35 +0000
commitaf8c1c71b7aeef5ae85c284ba9b1ce2291dd2828 (patch)
treec9a8d6b70c5c8e39eca2fc0000150ebf73feb740
parent519949a9daf87d115b08955b5c7117423bf486a4 (diff)
fix typos in comments
No functional change. Pointed out by Martin Vahlensieck.
-rw-r--r--usr.sbin/vmd/vioqcow2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/vmd/vioqcow2.c b/usr.sbin/vmd/vioqcow2.c
index 015acc203d2..08c6b027f07 100644
--- a/usr.sbin/vmd/vioqcow2.c
+++ b/usr.sbin/vmd/vioqcow2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vioqcow2.c,v 1.18 2022/05/04 23:17:25 dv Exp $ */
+/* $OpenBSD: vioqcow2.c,v 1.19 2022/05/13 16:46:34 dv Exp $ */
/*
* Copyright (c) 2018 Ori Bernstein <ori@eigenstate.org>
@@ -176,7 +176,7 @@ virtio_qcow2_get_base(int fd, char *path, size_t npath, const char *dpath)
/*
* Relative paths should be interpreted relative to the disk image,
* rather than relative to the directory vmd happens to be running in,
- * since this is the only userful interpretation.
+ * since this is the only useful interpretation.
*/
if (path[0] == '/') {
if (realpath(path, expanded) == NULL ||
@@ -619,7 +619,7 @@ inc_refs(struct qcdisk *disk, off_t off, int newcluster)
*
* Parameters:
* imgfile_path: path to the image file to create
- * imgsize : size of the image file to create (in MB)
+ * imgsize : size of the image file to create (in bytes)
*
* Return:
* EEXIST: The requested image file already exists