chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: a few more log_*_errno + return simplifications
[elogind.git]
/
src
/
libsystemd
/
sd-rtnl
/
rtnl-util.c
diff --git
a/src/libsystemd/sd-rtnl/rtnl-util.c
b/src/libsystemd/sd-rtnl/rtnl-util.c
index bd97ba9ae7f0069f55e96d1d1c6651d2c488e2cf..4521742b8e9a78e51cebdf1a16ff95b78894fb8e 100644
(file)
--- a/
src/libsystemd/sd-rtnl/rtnl-util.c
+++ b/
src/libsystemd/sd-rtnl/rtnl-util.c
@@
-157,11
+157,9
@@
bool rtnl_message_type_is_addr(uint16_t type) {
}
int rtnl_log_parse_error(int r) {
}
int rtnl_log_parse_error(int r) {
- log_error_errno(r, "Failed to parse netlink message: %m");
- return r;
+ return log_error_errno(r, "Failed to parse netlink message: %m");
}
int rtnl_log_create_error(int r) {
}
int rtnl_log_create_error(int r) {
- log_error_errno(r, "Failed to create netlink message: %m");
- return r;
+ return log_error_errno(r, "Failed to create netlink message: %m");
}
}