ethtool-util: don't pass error value that isn't used to log_syntax
This commit is contained in:
parent
e5f1b999eb
commit
d8ea7f838b
|
@ -943,7 +943,7 @@ int config_parse_channel(const char *unit,
|
|||
}
|
||||
|
||||
if (k < 1) {
|
||||
log_syntax(unit, LOG_ERR, filename, line, -EINVAL, "Invalid %s value, ignoring: %s", lvalue, rvalue);
|
||||
log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid %s value, ignoring: %s", lvalue, rvalue);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue