HomeFreeBSD

sys/xen: Use __printflike() instead of format(printf)

Description

sys/xen: Use __printflike() instead of format(printf)

The __printflike macro sets the format to freebsd_kprintf which recent
clang understands and warns about. Fixes the following error:
passing 'printf' format string where 'freebsd_kprintf' format string is expected [-Werror,-Wformat]

MFC after: 1 week

Details

Provenance
arichardsonAuthored on Sep 16 2025, 4:54 AM
dimCommitted on Dec 28 2025, 9:16 PM
Parents
rG3c0ea1b62976: ocs_fc: Use __printflike() instead of format(printf)
Branches
Unknown
Tags
Unknown