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/journal-remote | |
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/journal-remote')
-rw-r--r-- | src/journal-remote/journal-remote-main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c index 1cc978d383..7156bc7727 100644 --- a/src/journal-remote/journal-remote-main.c +++ b/src/journal-remote/journal-remote-main.c @@ -72,10 +72,7 @@ static const char* const journal_write_split_mode_table[_JOURNAL_WRITE_SPLIT_MAX }; DEFINE_PRIVATE_STRING_TABLE_LOOKUP(journal_write_split_mode, JournalWriteSplitMode); -static DEFINE_CONFIG_PARSE_ENUM(config_parse_write_split_mode, - journal_write_split_mode, - JournalWriteSplitMode, - "Failed to parse split mode setting"); +static DEFINE_CONFIG_PARSE_ENUM(config_parse_write_split_mode, journal_write_split_mode, JournalWriteSplitMode); /********************************************************************** ********************************************************************** |