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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to