From: John Hodge Date: Sat, 30 Nov 2013 14:42:39 +0000 (+0800) Subject: Usermode/libc - Added EAFNOSUPPORT X-Git-Tag: rel0.15~68 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=43eed682f209cef10678b5882fce95f16302ae51;p=tpg%2Facess2.git Usermode/libc - Added EAFNOSUPPORT --- diff --git a/Usermode/Libraries/libc.so_src/errno.c b/Usermode/Libraries/libc.so_src/errno.c index 7e1905cd..e2948d6c 100644 --- a/Usermode/Libraries/libc.so_src/errno.c +++ b/Usermode/Libraries/libc.so_src/errno.c @@ -46,6 +46,7 @@ EXPORT char *strerror(int errnum) case ENOTTY: return "Not a TTY"; case EAGAIN: return "Try again"; case EALREADY: return "Operation was no-op"; + case EAFNOSUPPORT: return "Address family not supported"; case EINTERNAL: return "Internal error"; } _SysDebug("strerror: errnum=%i unk", errnum); diff --git a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h index 3ebf26d2..6d33bd49 100755 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -27,7 +27,9 @@ enum libc_eErrorNumbers { EAGAIN, // Try again EALREADY, // Operation was a NOP - + + // psockets + EAFNOSUPPORT, EINTERNAL // Internal Error };