--- a/usr/src/lib/libbe/be_list.c Tue Dec 02 09:19:07 2008 -0700
+++ b/usr/src/lib/libbe/be_list.c Tue Dec 02 11:45:20 2008 -0700
@@ -909,9 +909,10 @@
}
} else {
if (cb->be_nodes->be_node_snapshots == NULL) {
- int space_used;
- zfs_handle_t *zfshp = zfs_open(g_zfs, ds_path,
- ZFS_TYPE_SNAPSHOT);
+ uint64_t space_used;
+ zfs_handle_t *zfshp;
+
+ zfshp = zfs_open(g_zfs, ds_path, ZFS_TYPE_SNAPSHOT);
cb->be_nodes->be_node_snapshots =
calloc(1, sizeof (be_snapshot_list_t));
if (cb->be_nodes->be_node_snapshots == NULL) {