summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/vmd/vionet.c4
-rw-r--r--usr.sbin/vmd/virtio.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/vmd/vionet.c b/usr.sbin/vmd/vionet.c
index 5123ad4c1d6..c0fb24c0c40 100644
--- a/usr.sbin/vmd/vionet.c
+++ b/usr.sbin/vmd/vionet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vionet.c,v 1.4 2023/09/01 19:42:26 dv Exp $ */
+/* $OpenBSD: vionet.c,v 1.5 2023/09/23 12:31:41 dv Exp $ */
/*
* Copyright (c) 2023 Dave Voutila <dv@openbsd.org>
@@ -800,7 +800,7 @@ handle_sync_io(int fd, short event, void *arg)
/* Dump device */
n = atomicio(vwrite, dev->sync_fd, dev, sizeof(*dev));
if (n != sizeof(*dev)) {
- log_warnx("%s: failed to dump vioblk device",
+ log_warnx("%s: failed to dump vionet device",
__func__);
break;
}
diff --git a/usr.sbin/vmd/virtio.c b/usr.sbin/vmd/virtio.c
index 203594c5693..42710c52e01 100644
--- a/usr.sbin/vmd/virtio.c
+++ b/usr.sbin/vmd/virtio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.c,v 1.107 2023/09/14 15:25:43 dv Exp $ */
+/* $OpenBSD: virtio.c,v 1.108 2023/09/23 12:31:41 dv Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -1656,7 +1656,7 @@ virtio_pci_io(int dir, uint16_t reg, uint32_t *data, uint8_t *intr,
ret = imsg_compose(ibuf, IMSG_DEVOP_MSG, 0, 0, -1, &msg,
sizeof(msg));
if (ret == -1) {
- log_warn("%s: failed to send async io event to vionet"
+ log_warn("%s: failed to send async io event to virtio"
" device", __func__);
return (ret);
}
@@ -1671,7 +1671,7 @@ virtio_pci_io(int dir, uint16_t reg, uint32_t *data, uint8_t *intr,
ret = imsg_compose(ibuf, IMSG_DEVOP_MSG, 0, 0, -1, &msg,
sizeof(msg));
if (ret == -1) {
- log_warnx("%s: failed to send sync io event to vionet"
+ log_warnx("%s: failed to send sync io event to virtio"
" device", __func__);
return (ret);
}