From: Yu Watanabe Date: Wed, 27 Feb 2019 04:54:13 +0000 (+0900) Subject: network: fix error code in log X-Git-Tag: v242-rc1~238^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80be3de31f55bbd4da2b81654e769e199b08fa4d;p=thirdparty%2Fsystemd.git network: fix error code in log --- diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 7826ba2140c..75dd8b9e4e3 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -1507,7 +1507,7 @@ int config_parse_dhcp_user_class( break; if (strlen(w) > 255) { - log_syntax(unit, LOG_ERR, filename, line, r, + log_syntax(unit, LOG_ERR, filename, line, 0, "%s length is not in the range 1-255, ignoring.", w); continue; }