From 11e873cc864fe2d1d96d72b11374e34b553412b3 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" <pesco@khjk.org> Date: Thu, 13 Apr 2023 17:11:40 +0000 Subject: [PATCH] add missing printf argument Forgotten in b3dda3fe when adding the input file name to error messages. --- pdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.c b/pdf.c index 17cd59e..f0eac27 100644 --- a/pdf.c +++ b/pdf.c @@ -4972,7 +4972,7 @@ parse_xrefs(const uint8_t *input, size_t sz, size_t *nxrefs) offset = H_INDEX_UINT(res->ast, 0); if (offset > sz) { log_message(5, "%s: startxref value at %zu (%#zx) points " - "outside the file\n", sz - i, sz - i); + "outside the file\n", infile, sz - i, sz - i); goto end; } -- GitLab