diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-11-12 19:45:56 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-11-12 19:45:56 +0000 |
| commit | 59cfaa640cf75b0caaaa9638a623bfdc4a3bc98c (patch) | |
| tree | 69de94d044c7680ae2e364c14b9f590f823c2694 /sbin | |
| parent | 574280af1a4f322a3a7b80fd388dcb030461d104 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -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 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); |
