summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gai_strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/gai_strerror.c')
-rw-r--r--src/lib/libc/net/gai_strerror.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libc/net/gai_strerror.c b/src/lib/libc/net/gai_strerror.c
index 767bc2f7e8..f4126413f8 100644
--- a/src/lib/libc/net/gai_strerror.c
+++ b/src/lib/libc/net/gai_strerror.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gai_strerror.c,v 1.6 2004/12/20 22:35:32 millert Exp $ */ 1/* $OpenBSD: gai_strerror.c,v 1.7 2009/06/02 16:47:50 jasper Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997-1999, Craig Metz, All rights reserved. 4 * Copyright (c) 1997-1999, Craig Metz, All rights reserved.
@@ -70,6 +70,8 @@ gai_strerror(int errnum)
70 return "invalid value for hints"; 70 return "invalid value for hints";
71 case EAI_PROTOCOL: 71 case EAI_PROTOCOL:
72 return "resolved protocol is unknown"; 72 return "resolved protocol is unknown";
73 case EAI_OVERFLOW:
74 return "argument buffer overflow";
73 default: 75 default:
74 return "unknown/invalid error"; 76 return "unknown/invalid error";
75 } 77 }