usr/src/lib/libnvpair/libnvpair.c
changeset 13700 2889e2596bd6
parent 12979 ab9ae749152f
--- a/usr/src/lib/libnvpair/libnvpair.c	Sun May 20 02:46:39 2012 -0500
+++ b/usr/src/lib/libnvpair/libnvpair.c	Mon May 21 12:11:39 2012 -0700
@@ -20,6 +20,7 @@
  */
 /*
  * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 #include <unistd.h>
@@ -803,6 +804,10 @@
 
 	while ((elem = nvlist_next_nvpair(list, elem)) != NULL) {
 		switch (nvpair_type(elem)) {
+		case DATA_TYPE_BOOLEAN:
+			(void) printf("%*s%s\n", indent, "", nvpair_name(elem));
+			break;
+
 		case DATA_TYPE_BOOLEAN_VALUE:
 			(void) nvpair_value_boolean_value(elem, &bool_value);
 			(void) printf("%*s%s: %s\n", indent, "",