diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-26 09:03:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-07-26 09:24:47 +0200 |
commit | 8a65188437d4b70b15e52db02e210844bd45d57d (patch) | |
tree | 4140853b04cd0b83ba95edbb4924811d0f4f616c | |
parent | be74f51605b4c7cb74fec3a50cd13b67598a8ac1 (diff) | |
download | systemd-8a65188437d4b70b15e52db02e210844bd45d57d.tar.gz |
sysctl: switch to log_syntax()
With @keszybz' recent work this will give us clickable links in the
journalctl output.
-rw-r--r-- | src/sysctl/sysctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index 9838701a3d..eeefc8b8b0 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -116,8 +116,7 @@ static int parse_file(OrderedHashmap *sysctl_options, const char *path, bool ign value = strchr(p, '='); if (!value) { - log_error("Line is not an assignment at '%s:%u': %s", path, c, p); - + log_syntax(NULL, LOG_WARNING, path, c, 0, "Line is not an assignment, ignoring: %s", p); if (r == 0) r = -EINVAL; continue; |