mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID
Follow-up of #11484
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user