diff options
author | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:24:11 +0100 |
---|---|---|
committer | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:40:30 +0100 |
commit | 62875895fa455eccf156e51d50da5d4a995febeb (patch) | |
tree | 50bab155fe4393766adf462e24427f3be20a51d6 /src/shared/bridge-util.h | |
parent | 3de56f47128808619e1640afa545e563c7443c3a (diff) | |
download | systemd-62875895fa455eccf156e51d50da5d4a995febeb.tar.gz |
shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID
Follow-up of #11484
Diffstat (limited to 'src/shared/bridge-util.h')
-rw-r--r-- | src/shared/bridge-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bridge-util.h b/src/shared/bridge-util.h index c9b02d822f..a60891c8f0 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_; |