rem: if ((error = zpool_refresh_stats(zhp, NULL, &newconfig)) != 0) {
add: if ((error = zpool_refresh_stats(zhp)) != 0) {
context: zpool_open_canfail(const char *pool){	zpool_handle_t *zhp;	nvlist_t *newconfig;	int error;	/*	 * Make sure the pool name is valid.	 */	if (!zpool_name_valid(pool, NULL, 0)) {		zfs_error(dgettext(TEXT_DOMAIN, "cannot open '%s': invalid "		    "pool name"), pool);		return (NULL);	}	zhp = zfs_malloc(sizeof (zpool_handle_t));	(void) strlcpy(zhp->zpool_name, pool, sizeof (zhp->zpool_name));	if ((error = zpool_refresh_stats(zhp, NULL, &newconfig)) != 0) {		if (error == ENOENT || error == EINVAL) {			zfs_error(dgettext(TEXT_DOMAIN, "cannot open '%s': no "			    "such pool"), pool);			free(zhp);			return (NULL);		} else {			zhp->zpool_state = POOL_STATE_UNAVAIL;		}	} else {		zhp->zpool_state = POOL_STATE_ACTIVE;	}	return (zhp);}