--- a/usr/src/cmd/fm/schemes/zfs/scheme.c Mon May 03 11:16:14 2010 -0700
+++ b/usr/src/cmd/fm/schemes/zfs/scheme.c Mon May 03 14:54:08 2010 -0700
@@ -19,8 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#include <fm/fmd_fmri.h>
@@ -214,7 +213,7 @@
vdev_stat_t *vs;
uint_t c;
- (void) nvlist_lookup_uint64_array(vd, ZPOOL_CONFIG_STATS,
+ (void) nvlist_lookup_uint64_array(vd, ZPOOL_CONFIG_VDEV_STATS,
(uint64_t **)&vs, &c);
ret = (vs->vs_state < VDEV_STATE_DEGRADED);