aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
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 /sysdeps/unix
parent26492c0a14966c32c43cd6ca1d0dca5e62c6cfef (diff)
downloadglibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.zip
glibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.tar.gz
glibc-3bf0b4f2cdc763141dd850be7588c32a720f5ce5.tar.bz2
Use the correct diagnostic macro.
Diffstat (limited to 'sysdeps/unix')
-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 65fb90f..3d88619 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: