1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-05 09:17:44 +03:00

coredump: Fix format string type mismatch

Fixes #23471

(cherry picked from commit 08e86b15fc)
(cherry picked from commit 421a99e2d681e52a7d471f34bb1bd8a2a4e56540)
This commit is contained in:
Daan De Meyer 2022-05-22 14:36:07 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 8feb4b1766
commit a78e72be51

View File

@ -506,8 +506,8 @@ static int save_external_coredump(
if (truncated)
log_struct(LOG_INFO,
LOG_MESSAGE("Core file was truncated to %zu bytes.", max_size),
"SIZE_LIMIT=%zu", max_size,
LOG_MESSAGE("Core file was truncated to %"PRIu64" bytes.", max_size),
"SIZE_LIMIT=%"PRIu64, max_size,
"MESSAGE_ID=" SD_MESSAGE_TRUNCATED_CORE_STR);
r = fix_permissions(fd, tmp, fn, context, uid);