From owner-svn-src-all@FreeBSD.ORG Tue Oct 28 08:37:17 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F329C26C; Tue, 28 Oct 2014 08:37:16 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id AF05F89C; Tue, 28 Oct 2014 08:37:16 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id EEC7EA931; Tue, 28 Oct 2014 08:37:09 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 0693E10693; Tue, 28 Oct 2014 09:37:10 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Kurt Jaeger Subject: Re: svn commit: r273734 - head/bin/dd References: <201410271138.s9RBcHrA002447@svn.freebsd.org> <20141027153957.GZ1877@kib.kiev.ua> <20141027155427.GM1492@f10.opsec.eu> Date: Tue, 28 Oct 2014 09:37:10 +0100 In-Reply-To: <20141027155427.GM1492@f10.opsec.eu> (Kurt Jaeger's message of "Mon, 27 Oct 2014 16:54:27 +0100") Message-ID: <86vbn4egjt.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Konstantin Belousov , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 28 Oct 2014 08:37:17 -0000 Kurt Jaeger writes: > Konstantin Belousov writes: > > On Mon, Oct 27, 2014 at 11:38:17AM +0000, Kurt Jaeger wrote: > > /scratch/tmp/kib/src/bin/dd/args.c:192: warning: format '%jd' expects t= ype 'intmax_t', but argument 3 has type 'int' > Thanks for the pointer. I'll take it up with the submitter. In an ideal world, you would have reviewed the patch before committing it... > I do not have a working arm setup right now. This is a bug on all platforms, and both clang and (recent) gcc should complain about it. That printf() call will print garbage. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no