summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-11 19:34:21 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 19:43:42 -0500
commitdfc40b59c95f4bc1773c4f03c72e0da18147e11c (patch)
treecdb1980064402c61c91870b3849cbd0349486e9e /src/udev/udevd.c
parent35b4202e3ae82625f69417902f41de3edfbe6398 (diff)
udev: use initialization instead of zeroing in one place
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 122958e9ac..b769be7451 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -778,10 +778,11 @@ static void handle_signal(struct udev *udev, int signo)
if (WIFEXITED(status)) {
if (WEXITSTATUS(status) != 0)
- log_error("worker [%u] exit with return code %i\n", pid, WEXITSTATUS(status));
+ log_error("worker [%u] exit with return code %i\n",
+ pid, WEXITSTATUS(status));
} else if (WIFSIGNALED(status)) {
log_error("worker [%u] terminated by signal %i (%s)\n",
- pid, WTERMSIG(status), strsignal(WTERMSIG(status)));
+ pid, WTERMSIG(status), strsignal(WTERMSIG(status)));
} else if (WIFSTOPPED(status)) {
log_error("worker [%u] stopped\n", pid);
} else if (WIFCONTINUED(status)) {