Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2022 15:56:05 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: d3282d0c550c - stable/12 - pfctl(8): Fix a typo in a source code comment
Message-ID:  <202207271556.26RFu58K086656@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

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

commit d3282d0c550cc3f921f6cb223534c11e33a7e3ad
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-16 11:48:30 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-07-27 15:54:59 +0000

    pfctl(8): Fix a typo in a source code comment
    
    - s/bufer/buffer/
    
    (cherry picked from commit a101b1b7f24aaabed03b73f2a4dd7acb41bb7a93)
---
 sbin/pfctl/pfctl_altq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index 8067b0598361..f88a773d005d 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1234,7 +1234,7 @@ char *
 rate2str(double rate)
 {
 	char		*buf;
-	static char	 r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring bufer */
+	static char	 r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring buffer */
 	static int	 idx = 0;
 	int		 i;
 	static const char unit[] = " KMG";



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