diff options
-rw-r--r-- | lib/libzpool/kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index 31d3336a8..5d26f7ca8 100644 --- a/lib/libzpool/kernel.c +++ b/lib/libzpool/kernel.c @@ -733,8 +733,8 @@ vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, offset_t offset, if (uio == UIO_READ) { rc = pread64(vp->v_fd, addr, len, offset); if (vp->v_dump_fd != -1) { - int status = - pwrite64(vp->v_dump_fd, addr, rc, offset); + int status; + status = pwrite64(vp->v_dump_fd, addr, rc, offset); ASSERT(status != -1); } } else { |