mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
errno-util: consider ENOPROTOOPT another "not supported"
It's generated by not supported getsocktopt()/setsockopt() options, and it's just another way for saying "not supported", hence treat it as such.
This commit is contained in:
parent
90db1582a9
commit
47bb0b8c29
@ -167,7 +167,8 @@ static inline bool ERRNO_IS_NEG_NOT_SUPPORTED(intmax_t r) {
|
||||
-EAFNOSUPPORT,
|
||||
-EPFNOSUPPORT,
|
||||
-EPROTONOSUPPORT,
|
||||
-ESOCKTNOSUPPORT);
|
||||
-ESOCKTNOSUPPORT,
|
||||
-ENOPROTOOPT);
|
||||
}
|
||||
_DEFINE_ABS_WRAPPER(NOT_SUPPORTED);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user