From owner-svn-src-all@FreeBSD.ORG Wed May 23 20:51:21 2012 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 C01B0106564A; Wed, 23 May 2012 20:51:21 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AB49D8FC08; Wed, 23 May 2012 20:51:21 +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 q4NKpLGe094789; Wed, 23 May 2012 20:51:21 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4NKpL9i094787; Wed, 23 May 2012 20:51:21 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201205232051.q4NKpL9i094787@svn.freebsd.org> From: Xin LI Date: Wed, 23 May 2012 20:51:21 +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: r235858 - head/sys/geom 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: Wed, 23 May 2012 20:51:21 -0000 Author: delphij Date: Wed May 23 20:51:21 2012 New Revision: 235858 URL: http://svn.freebsd.org/changeset/base/235858 Log: - Correct signedness for casts; - Wrap long line while I'm there. Noticed by: pjd, avg Modified: head/sys/geom/geom_flashmap.c Modified: head/sys/geom/geom_flashmap.c ============================================================================== --- head/sys/geom/geom_flashmap.c Wed May 23 20:29:16 2012 (r235857) +++ head/sys/geom/geom_flashmap.c Wed May 23 20:51:21 2012 (r235858) @@ -78,8 +78,9 @@ static void g_flashmap_print(struct g_flashmap_slice *slice) { - printf("%08jx-%08jx: %s (%juKB)\n", (intmax_t)slice->sl_start, (intmax_t)slice->sl_end, - slice->sl_name, (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); + printf("%08jx-%08jx: %s (%juKB)\n", (uintmax_t)slice->sl_start, + (uintmax_t)slice->sl_end, slice->sl_name, + (uintmax_t)(slice->sl_end - slice->sl_start) / 1024); } static int