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