summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-25 06:06:56 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-25 06:06:56 +0100
commit5cee547a94716dc38dffc49d907cc9bc1e221298 (patch)
treeee9e31d9aea9d68d4a4f550238028a091d72ceda /src
parentsd-device: fix return value on error path (diff)
downloadsystemd-5cee547a94716dc38dffc49d907cc9bc1e221298.tar.xz
systemd-5cee547a94716dc38dffc49d907cc9bc1e221298.zip
sd-device: update log message
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-device/device-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-device/device-monitor.c b/src/libsystemd/sd-device/device-monitor.c
index dd312e91ce..aaf4f3889b 100644
--- a/src/libsystemd/sd-device/device-monitor.c
+++ b/src/libsystemd/sd-device/device-monitor.c
@@ -277,7 +277,7 @@ int device_monitor_enable_receiving(sd_device_monitor *m) {
if (!m->bound) {
if (bind(m->sock, &m->snl.sa, sizeof(struct sockaddr_nl)) < 0)
- return log_debug_errno(errno, "sd-device-monitor: Failed to bind monitoring socket to event source: %m");
+ return log_debug_errno(errno, "sd-device-monitor: Failed to bind monitoring socket: %m");
m->bound = true;
}