summaryrefslogtreecommitdiff
path: root/src/shared/bridge-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/bridge-util.h')
-rw-r--r--src/shared/bridge-util.h2
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_;