}
libzfs_add_handle(cbp, zhp);
- if (zfs_iter_filesystems(zhp, 0, zfs_iter_cb, cbp) != 0) {
+ if (zfs_iter_filesystems(zhp, zfs_iter_cb, cbp) != 0) {
zfs_close(zhp);
return (-1);
}
* over all child filesystems.
*/
libzfs_add_handle(&cb, zfsp);
- if (zfs_iter_filesystems(zfsp, 0, zfs_iter_cb, &cb) != 0)
+ if (zfs_iter_filesystems(zfsp, zfs_iter_cb, &cb) != 0)
goto out;
/*