mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID
Follow-up of #11484
This commit is contained in:
parent
3de56f4712
commit
62875895fa
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user