svn commit: r273734 - head/bin/dd

Dag-Erling Smørgrav des at des.no
Tue Oct 28 08:37:17 UTC 2014


Kurt Jaeger <pi at FreeBSD.org> writes:
> Konstantin Belousov <kostikbel at 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 type '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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list