git: 35dfbe1ec827 - stable/13 - virtio(4): Fix two typos in KASSERT messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jun 2024 03:47:34 UTC
The branch stable/13 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=35dfbe1ec827d902e1096de2e0be4db300f4851f commit 35dfbe1ec827d902e1096de2e0be4db300f4851f Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2024-06-16 16:02:46 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2024-06-21 03:47:22 +0000 virtio(4): Fix two typos in KASSERT messages - s/emtpy/empty/ (cherry picked from commit 018a361f8902d629fca64be372ef9b266fee53ba) --- sys/dev/virtio/console/virtio_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/virtio/console/virtio_console.c b/sys/dev/virtio/console/virtio_console.c index a966d72f2084..96ccb398ab34 100644 --- a/sys/dev/virtio/console/virtio_console.c +++ b/sys/dev/virtio/console/virtio_console.c @@ -981,7 +981,7 @@ vtcon_ctrl_poll(struct vtcon_softc *sc, */ VTCON_CTRL_TX_LOCK(sc); KASSERT(virtqueue_empty(vq), - ("%s: virtqueue is not emtpy", __func__)); + ("%s: virtqueue is not empty", __func__)); error = virtqueue_enqueue(vq, control, &sg, sg.sg_nseg, 0); if (error == 0) { virtqueue_notify(vq); @@ -1369,7 +1369,7 @@ vtcon_port_out(struct vtcon_port *port, void *buf, int bufsize) vq = port->vtcport_outvq; KASSERT(virtqueue_empty(vq), - ("%s: port %p out virtqueue not emtpy", __func__, port)); + ("%s: port %p out virtqueue not empty", __func__, port)); sglist_init(&sg, 2, segs); error = sglist_append(&sg, buf, bufsize);