-/* $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>
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;
}
}
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;
}
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);
}
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);
}