chiark / gitweb /
core: move status line ellipsation to 50% of the line
[elogind.git] / src / libsystemd / sd-rtnl / rtnl-util.c
index c8b20d109e476c7ea589f7d79a30654e3d158101..0bc2c9b1f5720f68772d4264c61bbafb19a49720 100644 (file)
@@ -153,3 +153,13 @@ bool rtnl_message_type_is_addr(uint16_t type) {
                         return false;
         }
 }
+
+int rtnl_log_parse_error(int r) {
+        log_error("Failed to parse netlink message: %s", strerror(-r));
+        return r;
+}
+
+int rtnl_log_create_error(int r) {
+        log_error("Failed to create netlink message: %s", strerror(-r));
+        return r;
+}