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:
parent
a537eafe1d
commit
b58d4d2d4f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user