mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
coredump: Fix format string type mismatch
Fixes #23471 (cherry picked from commit 08e86b15fc22a8e9f1ee0a791dfd35b2fc25e4c4)
This commit is contained in:
parent
baa3291b5d
commit
7028d6d2ac
@ -512,8 +512,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user