git: fd635d87ad35 - stable/13 - vnet: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Apr 2023 10:11:30 UTC
The branch stable/13 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=fd635d87ad35bda209e29303167dec8c9ed48847
commit fd635d87ad35bda209e29303167dec8c9ed48847
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-17 10:24:35 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-04-21 10:10:12 +0000
vnet: Fix a typo in a source code comment
- s/form/from/
MFC after: 3 days
(cherry picked from commit a7acce3491987c116e607697a4906807f4ea1c10)
---
sys/net/vnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/vnet.c b/sys/net/vnet.c
index b46ed9e270e0..057043808031 100644
--- a/sys/net/vnet.c
+++ b/sys/net/vnet.c
@@ -245,7 +245,7 @@ vnet_alloc(void)
/*
* Allocate storage for virtualized global variables and copy in
- * initial values form our 'master' copy.
+ * initial values from our 'master' copy.
*/
vnet->vnet_data_mem = malloc(VNET_SIZE, M_VNET_DATA, M_WAITOK);
memcpy(vnet->vnet_data_mem, (void *)VNET_START, VNET_BYTES);