Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2022 14:01:21 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 84b0b7ea4cd6 - main - bhyve: Fix a typo in a comment
Message-ID:  <202211141401.2AEE1Lq7067728@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit 84b0b7ea4cd6731e91f79e008a747b502106f95a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-11-14 14:00:06 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-11-14 14:01:00 +0000

    bhyve: Fix a typo in a comment
    
    Reported by:    Mikaƫl Urankar <mikael.urankar@mailo.fr>
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211141401.2AEE1Lq7067728>