vmd(8): correct comment in vioraw, cleanup formatting.
authordv <dv@openbsd.org>
Sun, 16 Apr 2023 12:52:54 +0000 (12:52 +0000)
committerdv <dv@openbsd.org>
Sun, 16 Apr 2023 12:52:54 +0000 (12:52 +0000)
commit3d346d6582e7de82982cb08dd98d63c6a3b38fe5
treefbeab25080353f576fa565712a45b0ad0f999bd0
parent3bbc9b4e3ba89575448d218a699a85a2355d9812
vmd(8): correct comment in vioraw, cleanup formatting.

Comment incorrectly mentioned returning sectors when this function
returns bytes; the logic in virtio.c computes the number of 512
byte sectors after calling virtio_raw_init.

While here, adjust the formatting of return's to match the rest of vmd.

No functional change.
usr.sbin/vmd/vioraw.c