projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f1b99
)
ethtool-util: don't pass error value that isn't used to log_syntax
author
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Sep 2020 21:41:49 +0000
(23:41 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Sep 2020 21:43:20 +0000
(23:43 +0200)
src/shared/ethtool-util.c
patch
|
blob
|
history
diff --git
a/src/shared/ethtool-util.c
b/src/shared/ethtool-util.c
index 3bb12f92257983071463aeb6c97a447c6fd92a9c..14e91e3e4d00e0e8ea9a803e856b80cd1e7c16f1 100644
(file)
--- a/
src/shared/ethtool-util.c
+++ b/
src/shared/ethtool-util.c
@@
-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;
}