Date: Mon, 8 Jun 2009 15:16:34 +0200 From: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> To: Gabor Kovesdan <gabor@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: warnings cause build fail Message-ID: <20090608131634.GA91130@wep4035.physik.uni-wuerzburg.de> In-Reply-To: <4A2D04AB.5090907@FreeBSD.org> References: <4A2D04AB.5090907@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 08, 2009 at 02:31:39PM +0200, Gabor Kovesdan wrote: > Hi, > > building yesterday's -current on 7.2-R fails due to -Werror, I can only > build it if I set WERROR="". Is this a known issue or is it supposed to > build successfully on -stable? > SVN rev 193673 on 2009-06-08 02:13:24Z by marcel Make the size (-s) and start (-b) parameters of the add verb optional. The missing parameter(s) are automatically filled-in. Attached patch (probably) solves the issue. Alexey. --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-geom_part --- geom_part.c.orig 2009-06-08 15:11:02.000000000 +0200 +++ geom_part.c 2009-06-08 15:11:45.000000000 +0200 @@ -342,13 +342,13 @@ return (ENOSPC); if (!has_size) { - asprintf(&val, "%jd", size); + asprintf(&val, "%llu", size); if (val == NULL) return (ENOMEM); gctl_change_param(req, "size", -1, val); } if (!has_start) { - asprintf(&val, "%jd", start); + asprintf(&val, "%llu", start); if (val == NULL) return (ENOMEM); gctl_change_param(req, "start", -1, val); --xHFwDpU9dbj6ez1V--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608131634.GA91130>