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