From 59cfaa640cf75b0caaaa9638a623bfdc4a3bc98c Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 12 Nov 2011 19:45:56 +0000 Subject: [PATCH] Fix buildworld breakage due after r227464. Pointy hat to: mav --- sbin/geom/class/multipath/geom_multipath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);