Merge branch 'gcc-fortify-source' into refs/top-bases/gcc-branch
This commit is contained in:
commit
f9bab26542
|
@ -1162,7 +1162,7 @@ grow_vdev(vdev_t *vd, void *arg)
|
||||||
return (vd);
|
return (vd);
|
||||||
|
|
||||||
fsize = lseek(fd, 0, SEEK_END);
|
fsize = lseek(fd, 0, SEEK_END);
|
||||||
(void) ftruncate(fd, *newsize);
|
VERIFY(ftruncate(fd, *newsize) == 0);
|
||||||
|
|
||||||
if (zopt_verbose >= 6) {
|
if (zopt_verbose >= 6) {
|
||||||
(void) printf("%s grew from %lu to %lu bytes\n",
|
(void) printf("%s grew from %lu to %lu bytes\n",
|
||||||
|
|
Loading…
Reference in New Issue