From: Lennart Poettering Date: Thu, 8 Oct 2020 08:27:30 +0000 (+0200) Subject: missing-syscall: fix copypasta X-Git-Tag: v247-rc1~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba28df775d451edfcca9f996d60ed34c1dde2ac5;p=thirdparty%2Fsystemd.git missing-syscall: fix copypasta As noticed by @mbiebl: https://github.com/systemd/systemd/commit/5134e18eedc30bfe5397ed31f94903d984a60cfc#r43033443 --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 7427b632ac7..93c9931aa17 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -660,7 +660,7 @@ assert_cc(__NR_pidfd_send_signal == systemd_NR_pidfd_send_signal); #if !HAVE_PIDFD_SEND_SIGNAL static inline int missing_pidfd_send_signal(int fd, int sig, siginfo_t *info, unsigned flags) { -# ifdef __NR_pidfd_open +# ifdef __NR_pidfd_send_signal return syscall(__NR_pidfd_send_signal, fd, sig, info, flags); # else errno = ENOSYS;