Page MenuHomeFreeBSD

Print Maximum Data Transfer Size as a long rather than int
ClosedPublic

Authored by jhibbits on Jun 3 2018, 3:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 13, 11:59 AM
Unknown Object (File)
Sat, Sep 12, 5:41 PM
Unknown Object (File)
Sat, Sep 12, 1:38 PM
Unknown Object (File)
Sat, Sep 12, 12:57 PM
Unknown Object (File)
Fri, Sep 11, 9:52 PM
Unknown Object (File)
Fri, Sep 11, 6:31 PM
Unknown Object (File)
Thu, Sep 10, 11:12 AM
Unknown Object (File)
Sat, Aug 29, 1:40 AM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 7 2018, 2:47 AM
This revision was automatically updated to reflect the committed changes.