Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 18:32:19 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344236 - head/sys/contrib/libnv
Message-ID:  <201902171832.x1HIWJQW000455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oshogbo
Date: Sun Feb 17 18:32:19 2019
New Revision: 344236
URL: https://svnweb.freebsd.org/changeset/base/344236

Log:
  libnv: fix revert
  
  Reported by:	jenkins

Modified:
  head/sys/contrib/libnv/nvpair.c

Modified: head/sys/contrib/libnv/nvpair.c
==============================================================================
--- head/sys/contrib/libnv/nvpair.c	Sun Feb 17 18:26:27 2019	(r344235)
+++ head/sys/contrib/libnv/nvpair.c	Sun Feb 17 18:32:19 2019	(r344236)
@@ -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?201902171832.x1HIWJQW000455>