public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] debugedit: Use 'z', not 'Z' as conversion specifier
@ 2023-03-24 23:58 Mark Wielaard
  2023-04-21 12:40 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2023-03-24 23:58 UTC (permalink / raw)
  To: debugedit; +Cc: Mark Wielaard

Both are valid for size_t but 'z' is the standard one.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 tools/debugedit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/debugedit.c b/tools/debugedit.c
index b3422d7..3d75b8f 100644
--- a/tools/debugedit.c
+++ b/tools/debugedit.c
@@ -3185,7 +3185,7 @@ handle_build_id (DSO *dso, Elf_Data *build_id,
 
   if (build_id_size != 16 && build_id_size != 20)
     {
-      error (1, 0, "Cannot handle %Zu-byte build ID", build_id_size);
+      error (1, 0, "Cannot handle %zu-byte build ID", build_id_size);
     }
 
   int i = -1;
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] debugedit: Use 'z', not 'Z' as conversion specifier
  2023-03-24 23:58 [PATCH] debugedit: Use 'z', not 'Z' as conversion specifier Mark Wielaard
@ 2023-04-21 12:40 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2023-04-21 12:40 UTC (permalink / raw)
  To: debugedit

On Sat, 2023-03-25 at 00:58 +0100, Mark Wielaard wrote:
> Both are valid for size_t but 'z' is the standard one.

Pushed

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-21 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 23:58 [PATCH] debugedit: Use 'z', not 'Z' as conversion specifier Mark Wielaard
2023-04-21 12:40 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).