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)
Fri, May 8, 9:25 PM
Unknown Object (File)
Fri, May 1, 11:30 PM
Unknown Object (File)
Mon, Apr 27, 10:08 AM
Unknown Object (File)
Apr 11 2026, 12:39 PM
Unknown Object (File)
Apr 10 2026, 7:05 PM
Unknown Object (File)
Mar 26 2026, 4:54 AM
Unknown Object (File)
Mar 25 2026, 7:00 AM
Unknown Object (File)
Mar 24 2026, 3:44 PM
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.