From c36fc2a0bced17cb7f3461a206cc9698cc703458 Mon Sep 17 00:00:00 2001 From: sf Date: Tue, 23 Jul 2024 19:14:05 +0000 Subject: [PATCH] virtio: fix comment --- sys/dev/pv/virtio.c | 4 ++-- 1 file 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) -- 2.20.1