summaryrefslogtreecommitdiff
path: root/lib/strerrorname_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strerrorname_np.c')
-rw-r--r--lib/strerrorname_np.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strerrorname_np.c b/lib/strerrorname_np.c
index f8c4634c36..6bbb84f044 100644
--- a/lib/strerrorname_np.c
+++ b/lib/strerrorname_np.c
@@ -488,7 +488,7 @@ strerrorname_np (int errnum)
case EDONTREPLY: return "EDONTREPLY";
#endif
/* FreeBSD */
- #if defined EDOOFUS
+ #if defined EDOOFUS && EDOOFUS != EINVAL
case EDOOFUS: return "EDOOFUS";
#endif
/* Linux, HP-UX, Cygwin */