Date: Tue, 6 Jul 2021 17:53:27 GMT From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b907e9d9a149 - stable/13 - libnv: fix revert Message-ID: <202107061753.166HrRUc052749@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=b907e9d9a1492711e5e342b2bc33b30670a7222d commit b907e9d9a1492711e5e342b2bc33b30670a7222d Author: Mariusz Zaborski <oshogbo@FreeBSD.org> AuthorDate: 2019-02-17 18:32:19 +0000 Commit: Mariusz Zaborski <oshogbo@FreeBSD.org> CommitDate: 2021-07-06 17:53:08 +0000 libnv: fix revert Reported by: jenkins (cherry picked from commit 3bea7b5b05f200df4cabee12e405b8feade16f0e) --- sys/contrib/libnv/bsd_nvpair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/contrib/libnv/bsd_nvpair.c b/sys/contrib/libnv/bsd_nvpair.c index 34ea8c6bc1d5..6405dcd1c516 100644 --- a/sys/contrib/libnv/bsd_nvpair.c +++ b/sys/contrib/libnv/bsd_nvpair.c @@ -229,8 +229,8 @@ nvpair_remove_nvlist_array(nvpair_t *nvp) nvlarray = __DECONST(nvlist_t **, nvpair_get_nvlist_array(nvp, &count)); for (i = 0; i < count; i++) { - nvlist_set_array_next(nvl, NULL); - nvlist_set_parent(nvl, NULL); + nvlist_set_array_next(nvlarray[i], NULL); + nvlist_set_parent(nvlarray[i], NULL); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107061753.166HrRUc052749>