From: Frantisek Sumsal Date: Wed, 25 Oct 2023 09:26:19 +0000 (+0200) Subject: network: ENOTSUP → EOPNOTSUPP X-Git-Tag: v255-rc1~143^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25f7271c42914b2ed7394ba9483117623f30df53;p=thirdparty%2Fsystemd.git network: ENOTSUP → EOPNOTSUPP --- diff --git a/src/libsystemd-network/ndisc-router.c b/src/libsystemd-network/ndisc-router.c index 74331591f0b..5162df799c3 100644 --- a/src/libsystemd-network/ndisc-router.c +++ b/src/libsystemd-network/ndisc-router.c @@ -593,7 +593,7 @@ int sd_ndisc_router_route_get_preference(sd_ndisc_router *rt, unsigned *ret) { return r; if (!IN_SET((ri[3] >> 3) & 3, SD_NDISC_PREFERENCE_LOW, SD_NDISC_PREFERENCE_MEDIUM, SD_NDISC_PREFERENCE_HIGH)) - return -ENOTSUP; + return -EOPNOTSUPP; *ret = (ri[3] >> 3) & 3; return 0;