diff --git a/module/zfs/spa.c b/module/zfs/spa.c index e5c41dc2b0..896277c883 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -2996,6 +2996,8 @@ vdev_count_verify_zaps(vdev_t *vd) return (total); } +#else +#define vdev_count_verify_zaps(vd) ((void) sizeof (vd), 0) #endif /*