Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 16:40:06 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6bce41a38e32 - main - carp(4): Fix a typo in a source code comment
Message-ID:  <202402271640.41RGe6ul074275@gitrepo.freebsd.org>

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

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

commit 6bce41a38e32decbce80bb1586cdd9400c83eb97
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-02-27 16:39:57 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-02-27 16:39:57 +0000

    carp(4): Fix a typo in a source code comment
    
    - s/successfull/successful/
    
    MFC after:      3 days
---
 sys/netinet/ip_carp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 66ec28e49af3..ddbc13e7c878 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -885,7 +885,7 @@ carp_send_ad_error(struct carp_softc *sc, int error)
 {
 
 	/*
-	 * We track errors and successfull sends with this logic:
+	 * We track errors and successful sends with this logic:
 	 * - Any error resets success counter to 0.
 	 * - MAX_ERRORS triggers demotion.
 	 * - MIN_SUCCESS successes resets error counter to 0.



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