From 80be3de31f55bbd4da2b81654e769e199b08fa4d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 27 Feb 2019 13:54:13 +0900 Subject: [PATCH] network: fix error code in log --- src/network/networkd-network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3