summaryrefslogtreecommitdiff
path: root/src/network/networkd-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-util.h')
-rw-r--r--src/network/networkd-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-util.h b/src/network/networkd-util.h
index 7b48046c35..cc5ee35558 100644
--- a/src/network/networkd-util.h
+++ b/src/network/networkd-util.h
@@ -17,7 +17,7 @@ typedef enum AddressFamily {
ADDRESS_FAMILY_IPV6 = 1 << 1,
ADDRESS_FAMILY_YES = ADDRESS_FAMILY_IPV4 | ADDRESS_FAMILY_IPV6,
_ADDRESS_FAMILY_MAX,
- _ADDRESS_FAMILY_INVALID = -1,
+ _ADDRESS_FAMILY_INVALID = -EINVAL,
} AddressFamily;
typedef struct NetworkConfigSection {