]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: do not include '%m' in log message if errno is zero 10470/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 16:59:52 +0000 (01:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 17:01:15 +0000 (02:01 +0900)
src/nspawn/nspawn-settings.c

index 62a3486952675357154f54b84d5a9e878bbba702..264ec61ad9db7cf8b0480f2602cbebeb8572cc06 100644 (file)
@@ -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;
         }