Date: Sat, 12 Nov 2011 19:45:56 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227471 - head/sbin/geom/class/multipath Message-ID: <201111121945.pACJjuuV058671@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Nov 12 19:45:56 2011 New Revision: 227471 URL: http://svn.freebsd.org/changeset/base/227471 Log: Fix buildworld breakage due after r227464. Pointy hat to: mav Modified: head/sbin/geom/class/multipath/geom_multipath.c Modified: head/sbin/geom/class/multipath/geom_multipath.c ============================================================================== --- head/sbin/geom/class/multipath/geom_multipath.c Sat Nov 12 19:02:55 2011 (r227470) +++ head/sbin/geom/class/multipath/geom_multipath.c Sat Nov 12 19:45:56 2011 (r227471) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111121945.pACJjuuV058671>