aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2023-04-17 10:24:35 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2023-04-17 10:24:35 +0000
commita7acce3491987c116e607697a4906807f4ea1c10 (patch)
treec29397d223506a63fe7b9843e6357ec39879a6c2
parent1959e122d9328b31a62ff7508e1746df2857b592 (diff)
downloadsrc-a7acce3491987c116e607697a4906807f4ea1c10.tar.gz
src-a7acce3491987c116e607697a4906807f4ea1c10.zip
vnet: Fix a typo in a source code comment
- s/form/from/ MFC after: 3 days
-rw-r--r--sys/net/vnet.c2
1 files changed, 1 insertions, 1 deletions
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);