diff options
author | Matthew Macy <[email protected]> | 2020-07-31 21:30:31 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-31 21:30:31 -0700 |
commit | 47ed79ff60945e0c5d8ccb56f0d29a893e1261ac (patch) | |
tree | af032038ad66d947e333ea55cf1383ce2627ea8b /cmd/zpool/zpool_vdev.c | |
parent | 0cc3454821879396c38d8c557ab918a70afd919b (diff) |
Changes to make openzfs build within FreeBSD buildworld
A collection of header changes to enable FreeBSD to build
with vendored OpenZFS.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #10635
Diffstat (limited to 'cmd/zpool/zpool_vdev.c')
-rw-r--r-- | cmd/zpool/zpool_vdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index 9b5f4972f..9aa09b18c 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -624,7 +624,7 @@ get_replication(nvlist_t *nvroot, boolean_t fatal) */ if (!dontreport && (vdev_size != -1LL && - (labs(size - vdev_size) > + (llabs(size - vdev_size) > ZPOOL_FUZZ))) { if (ret != NULL) free(ret); |