]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libzpool/util.c
Update core ZFS code from build 121 to build 141.
[mirror_zfs.git] / lib / libzpool / util.c
index 781edb6e8abcbd56201364899103bb6134e761c0..9b99531fd1c5290ade0620bb0994a78de2a8733d 100644 (file)
@@ -19,8 +19,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 
 #include <assert.h>
@@ -90,7 +89,7 @@ show_vdev_stats(const char *desc, const char *ctype, nvlist_t *nv, int indent)
                if (is_log)
                        prefix = "log ";
 
-               if (nvlist_lookup_uint64_array(nv, ZPOOL_CONFIG_STATS,
+               if (nvlist_lookup_uint64_array(nv, ZPOOL_CONFIG_VDEV_STATS,
                    (uint64_t **)&vs, &c) != 0)
                        vs = &v0;