aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sigpending.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76f9997..ed46627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-13 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
+ Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
+
2000-12-11 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
diff --git a/sysdeps/unix/sysv/linux/sigpending.c b/sysdeps/unix/sysv/linux/sigpending.c
index d84abb8..86cb8c4 100644
--- a/sysdeps/unix/sysv/linux/sigpending.c
+++ b/sysdeps/unix/sysv/linux/sigpending.c
@@ -44,7 +44,7 @@ sigpending (set)
#if __ASSUME_REALTIME_SIGNALS > 0
return INLINE_SYSCALL (rt_sigpending, 2, CHECK_SIGSET (set), _NSIG / 8);
#else
-# ifdef __NR_rt_pending
+# ifdef __NR_rt_sigpending
/* First try the RT signals. */
if (!__libc_missing_rt_sigs)
{