mirror of
https://github.com/linux-can/can-utils.git
synced 2026-11-04 07:21:13 +01:00
All pr_*() log macros use isobusfs_log() which was declared without a format attribute. Therefore the compiler did not check the format strings against the provided arguments. Add __attribute__((format(printf, 2, 3))) to let the compiler detect mismatching format specifiers. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>