[systemd-devel] [PATCH] journal-verify: Use proper printf placeholder
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Jun 27 08:04:25 PDT 2013
On Thu, Jun 27, 2013 at 04:24:02PM +0200, Jan Janssen wrote:
> ---
> src/journal/journal-verify.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c
> index 781b1ee..3405811 100644
> --- a/src/journal/journal-verify.c
> +++ b/src/journal/journal-verify.c
> @@ -67,7 +67,7 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o
> }
>
> if (le64toh(o->object.size) - offsetof(DataObject, payload) <= 0) {
> - log_error(OFSfmt": bad object size (<= %"PRIu64"): %"PRIu64,
> + log_error(OFSfmt": bad object size (<= %zu): %"PRIu64,
Applied.
Zbyszek
More information about the systemd-devel
mailing list