summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-27 03:20:03 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-09-01 22:45:09 +0200
commit42efe5be1ddac120897d77b8735fca5cda2ac9e5 (patch)
tree58f6b20c2eae11a51b1cba8743cbfa61e20d3a40 /src/network/networkd-dhcp4.c
parentlog: protect errno from log_syntax_invalid_utf8_internal() (diff)
downloadsystemd-42efe5be1ddac120897d77b8735fca5cda2ac9e5.tar.xz
systemd-42efe5be1ddac120897d77b8735fca5cda2ac9e5.zip
tree-wide: drop msg argument for DEFINE_CONFIG_PARSE() macro and friends
This makes the macros use log_syntax_parse_error(), hopefully which provides more informative log message in general, and reduces binary size.
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r--src/network/networkd-dhcp4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index 4a9459f006..0a784553d0 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -2018,5 +2018,4 @@ static const char* const dhcp_client_identifier_table[_DHCP_CLIENT_ID_MAX] = {
};
DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING(dhcp_client_identifier, DHCPClientIdentifier);
-DEFINE_CONFIG_PARSE_ENUM(config_parse_dhcp_client_identifier, dhcp_client_identifier, DHCPClientIdentifier,
- "Failed to parse client identifier type");
+DEFINE_CONFIG_PARSE_ENUM(config_parse_dhcp_client_identifier, dhcp_client_identifier, DHCPClientIdentifier);