Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 09:37:10 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Kurt Jaeger <pi@FreeBSD.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r273734 - head/bin/dd
Message-ID:  <86vbn4egjt.fsf@nine.des.no>
In-Reply-To: <20141027155427.GM1492@f10.opsec.eu> (Kurt Jaeger's message of "Mon, 27 Oct 2014 16:54:27 %2B0100")
References:  <201410271138.s9RBcHrA002447@svn.freebsd.org> <20141027153957.GZ1877@kib.kiev.ua> <20141027155427.GM1492@f10.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
Kurt Jaeger <pi@FreeBSD.org> writes:
> Konstantin Belousov <kostikbel@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vbn4egjt.fsf>