aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-11-12 19:45:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-11-12 19:45:56 +0000
commit59cfaa640cf75b0caaaa9638a623bfdc4a3bc98c (patch)
tree69de94d044c7680ae2e364c14b9f590f823c2694 /sbin
parent574280af1a4f322a3a7b80fd388dcb030461d104 (diff)
Notes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/multipath/geom_multipath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/multipath/geom_multipath.c b/sbin/geom/class/multipath/geom_multipath.c
index ce0028de84d3..2dc787dd2ce6 100644
--- a/sbin/geom/class/multipath/geom_multipath.c
+++ b/sbin/geom/class/multipath/geom_multipath.c
@@ -240,7 +240,7 @@ mp_label(struct gctl_req *req)
continue;
}
if (pread(fd, rsector, secsize, disksize - secsize) !=
- secsize) {
+ (ssize_t)secsize) {
fprintf(stderr, "Unable to read metadata from %s: %s.\n",
name2, strerror(errno));
g_close(fd);