git: a7acce349198 - main - vnet: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Apr 2023 10:26:26 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=a7acce3491987c116e607697a4906807f4ea1c10
commit a7acce3491987c116e607697a4906807f4ea1c10
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-04-17 10:24:35 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-04-17 10:24:35 +0000
vnet: Fix a typo in a source code comment
- s/form/from/
MFC after: 3 days
---
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 b064e8e864ff..7ae030560301 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);