diff options
author | dim <dim@FreeBSD.org> | 2011-11-12 19:45:56 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-11-12 19:45:56 +0000 |
commit | 9e74124500b809fd0e7dae8e9e93ecc5b90293f9 (patch) | |
tree | 69de94d044c7680ae2e364c14b9f590f823c2694 /sbin/geom | |
parent | 7b2871f94782df9d29d66a36ee22e9332c343868 (diff) | |
download | FreeBSD-src-9e74124500b809fd0e7dae8e9e93ecc5b90293f9.zip FreeBSD-src-9e74124500b809fd0e7dae8e9e93ecc5b90293f9.tar.gz |
Fix buildworld breakage due after r227464.
Pointy hat to: mav
Diffstat (limited to 'sbin/geom')
-rw-r--r-- | sbin/geom/class/multipath/geom_multipath.c | 2 |
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 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); |