summaryrefslogtreecommitdiff
path: root/tests/test-perror2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-perror2.c')
-rw-r--r--tests/test-perror2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-perror2.c b/tests/test-perror2.c
index 0c96832d37..25390ff533 100644
--- a/tests/test-perror2.c
+++ b/tests/test-perror2.c
@@ -23,7 +23,7 @@
#include <unistd.h>
/* Tell GCC not to warn about myerr being leaked. */
-#if __GNUC__ >= 10
+#if __GNUC__ >= 13
# pragma GCC diagnostic ignored "-Wanalyzer-fd-leak"
#endif