1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-21 22:04:01 +03:00

sd-device-monitor: include error cause in log message

This commit is contained in:
Yu Watanabe 2018-10-19 11:57:54 +09:00
parent a537eafe1d
commit b58d4d2d4f

View 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);