From: dv Date: Fri, 13 May 2022 16:46:34 +0000 (+0000) Subject: fix typos in comments X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2eec08437320ad5c535e409b6b95fb53fea5b00f;p=openbsd fix typos in comments No functional change. Pointed out by Martin Vahlensieck. --- 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 @@ -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