git: 37a57b5d3517 - main - enetc: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Jul 2022 11:39:28 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=37a57b5d3517cc9719561b3afd77e1e902432306
commit 37a57b5d3517cc9719561b3afd77e1e902432306
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-16 11:38:27 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-07-16 11:38:27 +0000
enetc: Fix a typo in a source code comment
- s/alredy/already/
MFC after: 3 days
---
sys/dev/enetc/if_enetc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/enetc/if_enetc.c b/sys/dev/enetc/if_enetc.c
index c6c0582be04f..d691f7ccbf01 100644
--- a/sys/dev/enetc/if_enetc.c
+++ b/sys/dev/enetc/if_enetc.c
@@ -868,7 +868,7 @@ enetc_vlan_register(if_ctx_t ctx, uint16_t vid)
sc = iflib_get_softc(ctx);
hash = enetc_hash_vid(vid);
- /* Check if hash is alredy present in the bitmap. */
+ /* Check if hash is already present in the bitmap. */
if (++sc->vlan_bitmap[hash] != 1)
return;