diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-09-04 10:13:02 -0700 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-09-07 15:04:22 +0200 |
commit | 2ec957327cdfae6cee592a52958a9c937ea4b13c (patch) | |
tree | 5a7a5f5c8314ec191aa24693baddd8ef13f7b286 /tests/asm-tst4.c | |
parent | c3f93ad84e653a23a66d8fa4110292ed900ede25 (diff) | |
download | android_external_elfutils-2ec957327cdfae6cee592a52958a9c937ea4b13c.tar.gz android_external_elfutils-2ec957327cdfae6cee592a52958a9c937ea4b13c.tar.bz2 android_external_elfutils-2ec957327cdfae6cee592a52958a9c937ea4b13c.zip |
Replace printf %Z length modifier with %z.
%Z is a GNU extension predating the ISO C99 %z modifier supported by
libc5 and no longer recommended.
Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/asm-tst4.c')
-rw-r--r-- | tests/asm-tst4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/asm-tst4.c b/tests/asm-tst4.c index 4788b79e..52e9e20b 100644 --- a/tests/asm-tst4.c +++ b/tests/asm-tst4.c @@ -62,7 +62,7 @@ main (void) AsmScn_t *scn; /* Create a unique name. */ - snprintf (buf, sizeof (buf), ".data.%Zu", cnt); + snprintf (buf, sizeof (buf), ".data.%zu", cnt); /* Create the section. */ scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); |