]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-device-monitor: include error cause in log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 02:57:54 +0000 (11:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 02:57:54 +0000 (11:57 +0900)
src/libsystemd/sd-device/device-monitor.c

index 82e01d44f28f51ccd5046fdbddc310c8cf9967ce..b6314538687b03eb95fbd59563683e89259da504 100644 (file)
@@ -558,7 +558,7 @@ int device_monitor_send_device(
                         log_debug("Passed device to netlink monitor");
                         return 0;
                 } else
-                        return log_debug_errno(errno, "Failed to send device to netlink monitor");
+                        return log_debug_errno(errno, "Failed to send device to netlink monitor: %m");
         }
 
         log_debug("Passed %zi byte device to netlink monitor", count);