summaryrefslogtreecommitdiff
path: root/tests/test-strerrorname_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-strerrorname_np.c')
-rw-r--r--tests/test-strerrorname_np.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-strerrorname_np.c b/tests/test-strerrorname_np.c
index ae2291fd97..49de0c750d 100644
--- a/tests/test-strerrorname_np.c
+++ b/tests/test-strerrorname_np.c
@@ -490,7 +490,7 @@ main (void)
ASSERT (strcmp (strerrorname_np (EDONTREPLY), "EDONTREPLY") == 0);
#endif
/* FreeBSD */
- #if defined EDOOFUS
+ #if defined EDOOFUS && EDOOFUS != EINVAL
ASSERT (strcmp (strerrorname_np (EDOOFUS), "EDOOFUS") == 0);
#endif
/* Linux, HP-UX, Cygwin */