Print this page
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <gwilson@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>
Approved by: Dan McDonald <danmcd@nexenta.com>

@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 #include <unistd.h>
 #include <strings.h>
 #include <libintl.h>

@@ -801,10 +802,14 @@
                 return;
         }
 
         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, "",
                             nvpair_name(elem), bool_value ? "true" : "false");
                         break;