diff options
author | 2009-06-02 16:47:50 +0000 | |
---|---|---|
committer | 2009-06-02 16:47:50 +0000 | |
commit | ab0c76cf9a93673d086525e3d91459e4537b13cd (patch) | |
tree | d5dc4bb16b71d4513ecb42aea4f9e90457dd1647 /lib/libc/net/gai_strerror.c | |
parent | sort options alphabetically. (diff) | |
download | wireguard-openbsd-ab0c76cf9a93673d086525e3d91459e4537b13cd.tar.xz wireguard-openbsd-ab0c76cf9a93673d086525e3d91459e4537b13cd.zip |
- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)
hint from claudio@, ok millert@
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"; } |