summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-settings.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-19 18:59:52 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-19 19:01:15 +0200
commitc65ac075ef076dd5f8dd86f0d303eb349a11b4c0 (patch)
treea7c3f0dc95fabd651b871555103f8706d26762f6 /src/nspawn/nspawn-settings.c
parentimport: include error cause in log message (diff)
downloadsystemd-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.c2
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;
}