From owner-svn-src-all@FreeBSD.ORG Sat Nov 12 19:45:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B4EC1065670; Sat, 12 Nov 2011 19:45:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BFDD8FC13; Sat, 12 Nov 2011 19:45:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pACJjukR058673; Sat, 12 Nov 2011 19:45:56 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pACJjuuV058671; Sat, 12 Nov 2011 19:45:56 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201111121945.pACJjuuV058671@svn.freebsd.org> From: Dimitry Andric Date: Sat, 12 Nov 2011 19:45:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227471 - head/sbin/geom/class/multipath X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 19:45:56 -0000 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);