diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-27 03:20:03 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-01 22:45:09 +0200 |
commit | 42efe5be1ddac120897d77b8735fca5cda2ac9e5 (patch) | |
tree | 58f6b20c2eae11a51b1cba8743cbfa61e20d3a40 /src/coredump | |
parent | log: protect errno from log_syntax_invalid_utf8_internal() (diff) | |
download | systemd-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/coredump')
-rw-r--r-- | src/coredump/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index e751b67417..d21ea680bd 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -158,7 +158,7 @@ static const char* const coredump_storage_table[_COREDUMP_STORAGE_MAX] = { }; DEFINE_PRIVATE_STRING_TABLE_LOOKUP(coredump_storage, CoredumpStorage); -static DEFINE_CONFIG_PARSE_ENUM(config_parse_coredump_storage, coredump_storage, CoredumpStorage, "Failed to parse storage setting"); +static DEFINE_CONFIG_PARSE_ENUM(config_parse_coredump_storage, coredump_storage, CoredumpStorage); static CoredumpStorage arg_storage = COREDUMP_STORAGE_EXTERNAL; static bool arg_compress = true; |