From 9e74124500b809fd0e7dae8e9e93ecc5b90293f9 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 12 Nov 2011 19:45:56 +0000 Subject: 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(-) (limited to 'sbin') diff --git a/sbin/geom/class/multipath/geom_multipath.c b/sbin/geom/class/multipath/geom_multipath.c index ce0028d..2dc787d 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); -- cgit v1.1