Add ENOPROTOOPT.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:16:57 +02:00
parent 369253450a
commit d28a85bd87
2 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@
#define ENETUNREACH 76
#define ENOBUFS 77
#define ENOMSG 78
#define ENOPROTOOPT 79
#define EOPNOTSUPP ENOTSUP

View File

@ -97,6 +97,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENETUNREACH: return "Network is unreachable";
case ENOBUFS: return "No buffer space available";
case ENOMSG: return "No message of the desired type";
case ENOPROTOOPT: return "Protocol not available";
default: return "Unknown error condition";
}
}