HomeFreeBSD

Print Maximum Data Transfer Size as a long rather than int

Description

Print Maximum Data Transfer Size as a long rather than int

PowerPC has PAGE_SIZE as a long, not an int. This causes the compiler to throw
a format mismatch warning on this print. To work around the difference, print
it as a long instead of an int, and force the argument to a long.

Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D15653

Details

Provenance
jhibbitsAuthored on
Reviewer
imp
Differential Revision
D15653: Print Maximum Data Transfer Size as a long rather than int
Parents
rS334753: libpmc: add missed (uintmax_t) casts
Branches
Unknown
Tags
Unknown