diff options
author | ccardenas <ccardenas@cvs.openbsd.org> | 2018-09-11 13:45:30 +0000 |
---|---|---|
committer | ccardenas <ccardenas@cvs.openbsd.org> | 2018-09-11 13:45:30 +0000 |
commit | 0e1c97133f62bd847ac590ebacec9889f4ca02b6 (patch) | |
tree | 44bedcbdeff3b069d2d5dd9e3a312bc4b7da2ccb | |
parent | 24ea831cf0fa75f3549db607e9d8a2ab35b2529e (diff) |
Be consistent in logging messages.
Change "fmt" to "format".
Ok kn@
-rw-r--r-- | usr.sbin/vmd/virtio.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/vmd/virtio.c b/usr.sbin/vmd/virtio.c index 9e9c7fc0f21..c774cc7813a 100644 --- a/usr.sbin/vmd/virtio.c +++ b/usr.sbin/vmd/virtio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtio.c,v 1.66 2018/09/11 04:06:32 ccardenas Exp $ */ +/* $OpenBSD: virtio.c,v 1.67 2018/09/11 13:45:29 ccardenas Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -1839,7 +1839,7 @@ virtio_init(struct vmd_vm *vm, int child_cdrom, int *child_disks, vioblk[i].irq = pci_get_dev_irq(id); if (virtio_init_disk(&vioblk[i].file, &vioblk[i].sz, child_disks[i], vmc->vmc_disktypes[i]) == -1) { - log_warnx("%s: unable to determine disk fmt", + log_warnx("%s: unable to determine disk format", __func__); return; } @@ -1968,7 +1968,8 @@ virtio_init(struct vmd_vm *vm, int child_cdrom, int *child_disks, } if (virtio_init_disk(&vioscsi->file, &vioscsi->sz, child_cdrom, VMDF_RAW) == -1) { - log_warnx("%s: unable to determine iso fmt", __func__); + log_warnx("%s: unable to determine iso format", + __func__); return; } vioscsi->locked = 0; @@ -2135,7 +2136,7 @@ vioblk_restore(int fd, struct vmop_create_params *vmc, int *child_disks) } if (virtio_init_disk(&vioblk[i].file, &vioblk[i].sz, child_disks[i], vmc->vmc_disktypes[i]) == -1) { - log_warnx("%s: unable to determine disk fmt", + log_warnx("%s: unable to determine disk format", __func__); return (-1); } @@ -2171,7 +2172,7 @@ vioscsi_restore(int fd, struct vm_create_params *vcp, int child_cdrom) if (virtio_init_disk(&vioscsi->file, &vioscsi->sz, child_cdrom, VMDF_RAW) == -1) { - log_warnx("%s: unable to determine iso fmt", __func__); + log_warnx("%s: unable to determine iso format", __func__); return (-1); } |