summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-08 19:10:27 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-09-08 19:34:38 +0200
commitab54f12b783eea891d6414fbc14cd6fe7cbe4c80 (patch)
treeb75d0dc8e6fa95f7d8bfa39c31e47c8f30c10f55 /src/udev/udev-event.c
parentudev: explicitly specify return value (diff)
downloadsystemd-ab54f12b783eea891d6414fbc14cd6fe7cbe4c80.tar.xz
systemd-ab54f12b783eea891d6414fbc14cd6fe7cbe4c80.zip
sd-device: make log_device_error() or friends return void
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 3fe4ac7e6a..e7208c62b0 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -633,7 +633,7 @@ static int on_spawn_sigchld(sd_event_source *s, const siginfo_t *si, void *userd
if (si->si_status == 0)
log_device_debug(spawn->device, "Process '%s' succeeded.", spawn->cmd);
else
- log_device_full(spawn->device, spawn->accept_failure ? LOG_DEBUG : LOG_WARNING, 0,
+ log_device_full(spawn->device, spawn->accept_failure ? LOG_DEBUG : LOG_WARNING,
"Process '%s' failed with exit code %i.", spawn->cmd, si->si_status);
ret = si->si_status;
break;