cvs commit: src/sys/dev/en midway.c

Harti Brandt brandt at
Wed Aug 6 07:32:01 PDT 2003

On Wed, 6 Aug 2003, Andrew Gallatin wrote:

AG>Hartmut Brandt [harti at] wrote:
AG>> harti       2003/08/06 04:30:53 PDT
AG>>   FreeBSD src repository
AG>>   Modified files:
AG>>     sys/dev/en           midway.c
AG>>   Log:
AG>>   Print an array index that is computed as ptrdiff_t with %tu.
AG>I don't understand why, but this breaks the sparc64 and alpha tinderboxes.

Not really. The breakage was earlier when the ptrdiff_t was printed via
%d. David O'Brien fixed that by converting to long and using %ld. The
above commit now uses the knowledge that the difference is actually an
array index and therefor uses %tu. The tinderbox log file seems to be from
yesterday before David's fix.

harti brandt,
brandt at, harti at

More information about the cvs-src mailing list