Skip to content

Commit

Permalink
drivers/phoenixcontact_modbus.c: corrected placeholder of fatalx log
Browse files Browse the repository at this point in the history
Signed-off-by: RikyPlaza <[email protected]>
  • Loading branch information
RikyPlaza committed Dec 12, 2024
1 parent 8048207 commit c3f00c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/phoenixcontact_modbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void upsdrv_initinfo(void)
* memory corruptions and buggy inputs below...
*/
default:
fatalx(EXIT_FAILURE, "Uknown UPS part number: " PRIu32, PartNumber);
fatalx(EXIT_FAILURE, "Uknown UPS part number: %ju", (uintmax_t)PartNumber);
#ifdef __clang__
# pragma clang diagnostic pop
#endif
Expand Down

0 comments on commit c3f00c5

Please sign in to comment.