From owner-freebsd-current@FreeBSD.ORG Mon Jun 8 13:16:37 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8CF31065697 for ; Mon, 8 Jun 2009 13:16:37 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 40D308FC14 for ; Mon, 8 Jun 2009 13:16:37 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id D986D199087; Mon, 8 Jun 2009 15:16:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id CC9DE199081; Mon, 8 Jun 2009 15:16:35 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id B6EE5199064; Mon, 8 Jun 2009 15:16:35 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF166) with ESMTP id 2009060815163424-5907 ; Mon, 8 Jun 2009 15:16:34 +0200 Received: by wep4035 (sSMTP sendmail emulation); Mon, 8 Jun 2009 15:16:34 +0200 Date: Mon, 8 Jun 2009 15:16:34 +0200 From: Alexey Shuvaev To: Gabor Kovesdan Message-ID: <20090608131634.GA91130@wep4035.physik.uni-wuerzburg.de> References: <4A2D04AB.5090907@FreeBSD.org> MIME-Version: 1.0 In-Reply-To: <4A2D04AB.5090907@FreeBSD.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.19 (2009-01-05) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 06/08/2009 03:16:34 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 06/08/2009 03:16:34 PM, Serialize complete at 06/08/2009 03:16:34 PM Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: FreeBSD Current Subject: Re: warnings cause build fail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 13:16:38 -0000 --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--