Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2025 13:05:44 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 831c4e51886e - stable/14 - syscons(4): Fix a typo in a source code comment
Message-ID:  <202506031305.553D5ibp082194@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=831c4e51886eadec6fc394f722ce781220bae529

commit 831c4e51886eadec6fc394f722ce781220bae529
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2025-05-31 09:01:57 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2025-06-03 13:03:41 +0000

    syscons(4): Fix a typo in a source code comment
    
    - s/contants/constants/
    
    (cherry picked from commit 62b3bac1a280e765f86901926c9e8d5f5b431bff)
---
 sys/dev/syscons/syscons.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 0985f03e1cb7..fd204491f8fc 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -3571,7 +3571,7 @@ sc_alloc_scr_buffer(scr_stat *scp, int wait, int discard)
 	old = scp->vtb;
 	sc_vtb_init(&new, VTB_MEMORY, scp->xsize, scp->ysize, NULL, wait);
 	if (!discard && (old.vtb_flags & VTB_VALID)) {
-		/* retain the current cursor position and buffer contants */
+		/* retain the current cursor position and buffer constants */
 		scp->cursor_oldpos = scp->cursor_pos;
 		/*
 		 * This works only if the old buffer has the same size as or



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506031305.553D5ibp082194>