summaryrefslogtreecommitdiff
path: root/src/coredump
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-05-22 14:36:07 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-22 19:28:38 +0200
commit08e86b15fc22a8e9f1ee0a791dfd35b2fc25e4c4 (patch)
treedd45001c61d24feaa7b5f3474cf44802aa5808cf /src/coredump
parent87c7779599ade84df7934c563adb7fe550c871f7 (diff)
downloadsystemd-08e86b15fc22a8e9f1ee0a791dfd35b2fc25e4c4.tar.gz
coredump: Fix format string type mismatch
Fixes #23471
Diffstat (limited to 'src/coredump')
-rw-r--r--src/coredump/coredump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c
index c9747416ad..994d968d87 100644
--- a/src/coredump/coredump.c
+++ b/src/coredump/coredump.c
@@ -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);