summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-26 01:09:34 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-05-03 14:26:05 -0400
commit591caddeb9b230b7dd805149f89c2b54ee88a323 (patch)
tree35aa8f018a8fdbe740d7f43da239acaef531e832
parent03c9f6028b28811431238c8292e88b432a6d2c91 (diff)
libudev: monitor - clarify log messages
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/libudev/libudev-monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c
index 26c265dc93..a1bdb2d40c 100644
--- a/src/libudev/libudev-monitor.c
+++ b/src/libudev/libudev-monitor.c
@@ -762,13 +762,13 @@ int udev_monitor_send_device(struct udev_monitor *udev_monitor,
count = sendmsg(udev_monitor->sock, &smsg, 0);
if (count < 0) {
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;
} else
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;
}