git: 62b3bac1a280 - main - syscons(4): Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 May 2025 09:03:31 UTC
The branch main has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=62b3bac1a280e765f86901926c9e8d5f5b431bff
commit 62b3bac1a280e765f86901926c9e8d5f5b431bff
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2025-05-31 09:01:57 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2025-05-31 09:01:57 +0000
syscons(4): Fix a typo in a source code comment
- s/contants/constants/
MFC after: 3 days
---
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