From: Benjamin Robin Date: Tue, 16 Feb 2021 22:24:11 +0000 (+0100) Subject: shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID X-Git-Tag: v248-rc1~88^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62875895fa455eccf156e51d50da5d4a995febeb;p=thirdparty%2Fsystemd.git shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID Follow-up of #11484 --- diff --git a/src/shared/bridge-util.h b/src/shared/bridge-util.h index c9b02d822f8..a60891c8f06 100644 --- a/src/shared/bridge-util.h +++ b/src/shared/bridge-util.h @@ -13,7 +13,7 @@ typedef enum BridgeState { NETDEV_BRIDGE_STATE_FORWARDING = BR_STATE_FORWARDING, NETDEV_BRIDGE_STATE_BLOCKING = BR_STATE_BLOCKING, _NETDEV_BRIDGE_STATE_MAX, - _NETDEV_BRIDGE_STATE_INVALID = -1, + _NETDEV_BRIDGE_STATE_INVALID = -EINVAL, } BridgeState; const char *bridge_state_to_string(BridgeState d) _const_;