Commit cf38fe06 by Wolfgang Bumiller

pidf_send_signal: fix return value

parent aab6e3eb
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment