about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-05-06 13:38:44 -0600
committerMartin Sebor <msebor@redhat.com>2021-05-06 13:38:44 -0600
commit3bf0b4f2cdc763141dd850be7588c32a720f5ce5 (patch)
tree24979ce856154eac6f177069966ce1db96d4492a
parent26492c0a14966c32c43cd6ca1d0dca5e62c6cfef (diff)
downloadglibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.tar.gz
glibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.tar.xz
glibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.zip
Use the correct diagnostic macro.
-rw-r--r--sysdeps/unix/sysv/linux/test-errno-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/test-errno-linux.c b/sysdeps/unix/sysv/linux/test-errno-linux.c
index 65fb90f9fc..3d8861966a 100644
--- a/sysdeps/unix/sysv/linux/test-errno-linux.c
+++ b/sysdeps/unix/sysv/linux/test-errno-linux.c
@@ -173,7 +173,7 @@ do_test (void)
   fails |= test_wrp2 (LIST (EINVAL, ENOMEM), mlock, (void *) -1, 1);
   fails |= test_wrp (EINVAL, nanosleep, &ts, &ts);
 
-  DIAG_POP_NEEDS_COMMENT;
+  DIAG_PUSH_NEEDS_COMMENT;
 
 #if __GNUC_PREREQ (9, 0)
   /* Suppress valid GCC warning: