git: d68f15420528 - main - tcp_hpts: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 10:33:44 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=d68f15420528e11f69a7bda365608581bfc34e64
commit d68f15420528e11f69a7bda365608581bfc34e64
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-01-11 10:33:29 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-01-11 10:33:29 +0000
tcp_hpts: Fix a typo in a source code comment
- s/subract/subtract/
MFC after: 3 days
---
sys/netinet/tcp_hpts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/tcp_hpts.c b/sys/netinet/tcp_hpts.c
index 5731e9a81e19..25876ebd4105 100644
--- a/sys/netinet/tcp_hpts.c
+++ b/sys/netinet/tcp_hpts.c
@@ -727,7 +727,7 @@ max_slots_available(struct tcp_hpts_entry *hpts, uint32_t wheel_slot, uint32_t *
}
/*
* To get the number left we can insert into we simply
- * subract the distance the pacer has to run from how
+ * subtract the distance the pacer has to run from how
* many slots there are.
*/
avail_on_wheel = NUM_OF_HPTSI_SLOTS - dis_to_travel;