about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/msgsnd.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-08 20:06:30 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-08 20:06:30 +0000
commita2da1673fe32540799c801e8aec374dc1c0e0596 (patch)
treef01cfb3fd9e2fa7aaa067809b09afe2c024be294 /sysdeps/unix/sysv/linux/msgsnd.c
parent7f3e75f87a93265e5a9feb1ba320f4b19f29cd67 (diff)
downloadglibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.gz
glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.xz
glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.zip
Remove CHECK_N and bp-checks.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/msgsnd.c')
-rw-r--r--sysdeps/unix/sysv/linux/msgsnd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/msgsnd.c b/sysdeps/unix/sysv/linux/msgsnd.c
index 853ea91741..556159b327 100644
--- a/sysdeps/unix/sysv/linux/msgsnd.c
+++ b/sysdeps/unix/sysv/linux/msgsnd.c
@@ -23,8 +23,6 @@
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
 
-#include <bp-checks.h>
-
 int
 __libc_msgsnd (msqid, msgp, msgsz, msgflg)
      int msqid;
@@ -34,12 +32,12 @@ __libc_msgsnd (msqid, msgp, msgsz, msgflg)
 {
   if (SINGLE_THREAD_P)
     return INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
-			   msgflg, (void *) CHECK_N (msgp, msgsz));
+			   msgflg, (void *) msgp);
 
   int oldtype = LIBC_CANCEL_ASYNC ();
 
   int result = INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
-			       msgflg, (void *) CHECK_N (msgp, msgsz));
+			       msgflg, (void *) msgp);
 
   LIBC_CANCEL_RESET (oldtype);