Page MenuHomeFreeBSD

wdatwd: fix i386 build breakage.
ClosedPublic

Authored by takawata on Jan 3 2023, 11:33 PM.
Tags
None
Referenced Files
F109919645: D37937.diff
Tue, Feb 11, 5:41 AM
F109857397: D37937.diff
Mon, Feb 10, 10:15 AM
Unknown Object (File)
Sat, Feb 8, 4:59 AM
Unknown Object (File)
Thu, Feb 6, 4:12 PM
Unknown Object (File)
Mon, Jan 27, 9:16 AM
Unknown Object (File)
Jan 6 2025, 6:45 PM
Unknown Object (File)
Jan 5 2025, 6:48 PM
Unknown Object (File)
Dec 27 2024, 6:47 PM
Subscribers

Details

Summary

Formatting string for uint64_t has portablity issue and
lead bulid breakage so fix it.

Test Plan

compile module both i386 and amd64

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48946
Build 45835: arc lint + arc unit

Event Timeline

hrs added inline comments.
sys/dev/wdatwd/wdatwd.c
366

This might be a matter of preference, but %ju and type casting by (uintmax_t) would be simpler.

681

Same here. %jx, in this case.

This revision is now accepted and ready to land.Jan 4 2023, 12:53 AM
This revision was automatically updated to reflect the committed changes.