From 0e71c2c718088c1ae83d133f1cc8bc768f0eeb89 Mon Sep 17 00:00:00 2001 From: ccardenas Date: Tue, 11 Sep 2018 13:45:29 +0000 Subject: [PATCH] Be consistent in logging messages. Change "fmt" to "format". Ok kn@ --- usr.sbin/vmd/virtio.c | 11 ++++++----- 1 file 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 @@ -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); } -- 2.20.1