diff options
author | Brian Behlendorf <[email protected]> | 2009-08-14 10:22:35 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-08-14 10:22:35 -0700 |
commit | fdeb55c22b0b3ad2cbc2e70609fc5e975c0c1f41 (patch) | |
tree | eedd42c7aa68e65f53c61ed45f4e1f1ea668b5b7 /cmd | |
parent | b6204cf257de6a06bc7a64982ee23caa77757725 (diff) | |
parent | 503a1a983c4e1fae1198373e440c429d0ec68627 (diff) |
Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ztest/ztest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 5eec6016d..eaf94334b 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -1176,7 +1176,7 @@ grow_vdev(vdev_t *vd, void *arg) return (vd); fsize = lseek(fd, 0, SEEK_END); - (void) ftruncate(fd, *newsize); + VERIFY(ftruncate(fd, *newsize) == 0); if (zopt_verbose >= 6) { (void) printf("%s grew from %lu to %lu bytes\n", |