From 94de1d4cf6ec0a3bf040dcc4b8df107c4ed36b51 Mon Sep 17 00:00:00 2001 From: eschrock Date: Wed, 7 Jun 2006 11:54:54 -0700 Subject: 6433264 crash when adding spare: nvlist_lookup_string(cnv, "path", &path) == 0 6433406 zfs_open() can leak memory on failure 6433408 namespace_reload() can leak memory on allocation failure 6433679 zpool_refresh_stats() has poor error semantics 6433680 changelist_gather() ignores libuutil errors --- usr/src/lib/libzfs/common/libzfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/lib/libzfs/common/libzfs.h') diff --git a/usr/src/lib/libzfs/common/libzfs.h b/usr/src/lib/libzfs/common/libzfs.h index bf4b2874ad..410649bdcb 100644 --- a/usr/src/lib/libzfs/common/libzfs.h +++ b/usr/src/lib/libzfs/common/libzfs.h @@ -197,7 +197,7 @@ extern zpool_status_t zpool_import_status(nvlist_t *, char **); * Statistics and configuration functions. */ extern nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **); -extern int zpool_refresh_stats(zpool_handle_t *); +extern int zpool_refresh_stats(zpool_handle_t *, boolean_t *); extern int zpool_get_errlog(zpool_handle_t *, nvlist_t ***, size_t *); #define ZPOOL_ERR_DATASET "dataset" -- cgit v1.2.3