diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 18:59:52 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 19:01:15 +0200 |
commit | c65ac075ef076dd5f8dd86f0d303eb349a11b4c0 (patch) | |
tree | a7c3f0dc95fabd651b871555103f8706d26762f6 /src/nspawn/nspawn-settings.c | |
parent | import: include error cause in log message (diff) | |
download | systemd-c65ac075ef076dd5f8dd86f0d303eb349a11b4c0.tar.xz systemd-c65ac075ef076dd5f8dd86f0d303eb349a11b4c0.zip |
nspawn: do not include '%m' in log message if errno is zero
Diffstat (limited to 'src/nspawn/nspawn-settings.c')
-rw-r--r-- | src/nspawn/nspawn-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-settings.c b/src/nspawn/nspawn-settings.c index 62a3486952..264ec61ad9 100644 --- a/src/nspawn/nspawn-settings.c +++ b/src/nspawn/nspawn-settings.c @@ -391,7 +391,7 @@ int config_parse_network_zone( j = strappend("vz-", rvalue); if (!ifname_valid(j)) { - log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid network zone name %s, ignoring: %m", rvalue); + log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid network zone name, ignoring: %s", rvalue); return 0; } |