Skip to content

Commit

Permalink
pidf_send_signal: fix return value
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
  • Loading branch information
Blub committed Jul 8, 2019
1 parent aab6e3e commit cf38fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/raw_syscalls.c
Expand Up @@ -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
}

0 comments on commit cf38fe0

Please sign in to comment.