summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2024-07-23 19:14:06 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2024-07-23 19:14:06 +0000
commitfcd173ec7ba0f4e687369dcb9d8bf1bd2da24a2d (patch)
tree52eda97930464fe62e022aed4c3973c7bcea119d /sys
parentbc5af8a0a4e26c3d9ee053708b44533be212a391 (diff)
virtio: fix comment
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pv/virtio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/virtio.c b/sys/dev/pv/virtio.c
index 49a7fe2b2e0..ac63ec6d961 100644
--- a/sys/dev/pv/virtio.c
+++ b/sys/dev/pv/virtio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.c,v 1.25 2024/05/24 10:05:55 jsg Exp $ */
+/* $OpenBSD: virtio.c,v 1.26 2024/07/23 19:14:05 sf Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
@@ -807,7 +807,7 @@ virtio_dequeue(struct virtio_softc *sc, struct virtqueue *vq,
* if you forget to call this the slot will be leaked.
*
* Don't call this if you use statically allocated slots
- * and virtio_dequeue_trim().
+ * and virtio_enqueue_trim().
*/
int
virtio_dequeue_commit(struct virtqueue *vq, int slot)