about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-24 15:56:35 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:40 -0300
commitac431c9b0266534b99c1c0228e8f3efb8b7b2e3b (patch)
treee24511d5549da40d4361fe4e389e1836ff9c01ec
parentb9801c945a677496d583bb76efa896bb954ca410 (diff)
downloadglibc-ac431c9b0266534b99c1c0228e8f3efb8b7b2e3b.tar.gz
glibc-ac431c9b0266534b99c1c0228e8f3efb8b7b2e3b.tar.xz
glibc-ac431c9b0266534b99c1c0228e8f3efb8b7b2e3b.zip
stdio: Suppress -Wformat only for gcc for tst-sprintf-errno.c
-rw-r--r--stdio-common/tst-sprintf-errno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-sprintf-errno.c b/stdio-common/tst-sprintf-errno.c
index e00c3fb485..2ea1fde2dc 100644
--- a/stdio-common/tst-sprintf-errno.c
+++ b/stdio-common/tst-sprintf-errno.c
@@ -24,7 +24,7 @@
 
 /* GCC does not yet know about the %#m specifier.  */
 DIAG_PUSH_NEEDS_COMMENT;
-DIAG_IGNORE_NEEDS_COMMENT (11, "-Wformat=");
+DIAG_IGNORE_NEEDS_COMMENT_GCC (11, "-Wformat=");
 
 static int
 do_test (void)