mirror of
https://github.com/systemd/systemd.git
synced 2025-01-14 23:24:38 +03:00
libudev: monitor - clarify log messages
This commit is contained in:
parent
7141e4f62c
commit
965288c5ee
@ -759,13 +759,13 @@ int udev_monitor_send_device(struct udev_monitor *udev_monitor,
|
|||||||
count = sendmsg(udev_monitor->sock, &smsg, 0);
|
count = sendmsg(udev_monitor->sock, &smsg, 0);
|
||||||
if (count < 0) {
|
if (count < 0) {
|
||||||
if (!destination && errno == ECONNREFUSED) {
|
if (!destination && errno == ECONNREFUSED) {
|
||||||
log_debug("passed unknown number of bytes to netlink monitor %p", udev_monitor);
|
log_debug("passed device to to netlink monitor %p", udev_monitor);
|
||||||
return 0;
|
return 0;
|
||||||
} else
|
} else
|
||||||
return -errno;
|
return -errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_debug("passed %zi bytes to netlink monitor %p", count, udev_monitor);
|
log_debug("passed %zi byte device to netlink monitor %p", count, udev_monitor);
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user