The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=84b0b7ea4cd6731e91f79e008a747b502106f95a

commit 84b0b7ea4cd6731e91f79e008a747b502106f95a
Author:     Mark Johnston <[email protected]>
AuthorDate: 2022-11-14 14:00:06 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2022-11-14 14:01:00 +0000

    bhyve: Fix a typo in a comment
    
    Reported by:    MikaĆ«l Urankar <[email protected]>
    Fixes:  719e307f80c7 ("bhyve: Cast away const when fetching a config 
nvlist")
---
 usr.sbin/bhyve/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/config.c b/usr.sbin/bhyve/config.c
index 6339ddb9f2ee..807890516eea 100644
--- a/usr.sbin/bhyve/config.c
+++ b/usr.sbin/bhyve/config.c
@@ -68,7 +68,7 @@ _lookup_config_node(nvlist_t *parent, const char *path, bool 
create)
                        /*
                         * XXX-MJ it is incorrect to cast away the const
                         * qualifier like this since the contract with nvlist
-                        * says that values are immuatable, and some consumers
+                        * says that values are immutable, and some consumers
                         * will indeed add nodes to the returned nvlist.  In
                         * practice, however, it appears to be harmless with the
                         * current nvlist implementation, so we just live with

Reply via email to