The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3085
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Wolfgang Bumiller <[email protected]>
From cf38fe06aca7306cb244d0c7301b2d0589084d63 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller <[email protected]> Date: Mon, 8 Jul 2019 18:10:35 +0200 Subject: [PATCH] pidf_send_signal: fix return value Signed-off-by: Wolfgang Bumiller <[email protected]> --- src/lxc/raw_syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/raw_syscalls.c b/src/lxc/raw_syscalls.c index f58b8d8987..de8145e887 100644 --- a/src/lxc/raw_syscalls.c +++ b/src/lxc/raw_syscalls.c @@ -125,9 +125,9 @@ int lxc_raw_pidfd_send_signal(int pidfd, int sig, siginfo_t *info, unsigned int flags) { #ifdef __NR_pidfd_send_signal - syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags); + return syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags); #else errno = ENOSYS; -#endif return -1; +#endif }
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
