From 965288c5eed1c49057d0131ca85b7db18d340778 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 26 Apr 2015 01:09:34 +0200 Subject: [PATCH] libudev: monitor - clarify log messages --- src/libudev/libudev-monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index e9d403c2397..60f11c139e7 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -759,13 +759,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; }