git: 17bcc10aec4b - stable/14 - 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:05 UTC
The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=17bcc10aec4b1e13e42a02c0a185ed0dac56af1b commit 17bcc10aec4b1e13e42a02c0a185ed0dac56af1b 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:46:51 +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 d8048d0f1f6e..45cd11ddb5ef 100644 --- a/sys/dev/virtio/console/virtio_console.c +++ b/sys/dev/virtio/console/virtio_console.c @@ -979,7 +979,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); @@ -1367,7 +1367,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);