about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-21 18:15:26 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-21 18:15:26 -0700
commita2292378d0d629c26edfae6b197efbdb362a7094 (patch)
tree041137aba1d1b29801713adf27d0e473df052569
parentab09b221594f12d90a63d29cbf5488d91f39d3f3 (diff)
downloadglibc-a2292378d0d629c26edfae6b197efbdb362a7094.tar.gz
glibc-a2292378d0d629c26edfae6b197efbdb362a7094.tar.xz
glibc-a2292378d0d629c26edfae6b197efbdb362a7094.zip
Correct socketcall argument for accept4.
The header had the old name (paccept).
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/socketcall.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 001ae9012c..057e6cd699 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-21  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove.
+	(SOCKOP_accept4): Define.
+
 2009-05-20  Ulrich Drepper  <drepper@redhat.com>
 
 	Sun approved the change of the license.
@@ -100,7 +105,7 @@
 	* sysdeps/sh/____longjmp_chk.S: New file.
 	* sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it.
 	* sysdeps/sh/sh4/__longjmp.S: Likewise.
-			
+
 2009-05-18  Jakub Jelinek  <jakub@redhat.com>
 	    Ulrich Drepper  <drepper@redhat.com>
 
diff --git a/sysdeps/unix/sysv/linux/socketcall.h b/sysdeps/unix/sysv/linux/socketcall.h
index 24ec9ee2ac..adf01b6e10 100644
--- a/sysdeps/unix/sysv/linux/socketcall.h
+++ b/sysdeps/unix/sysv/linux/socketcall.h
@@ -1,5 +1,5 @@
 /* ID for functions called via socketcall system call.
-   Copyright (C) 1995, 1996, 2008 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 2008, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -43,6 +43,6 @@
 #define SOCKOP_getsockopt	15
 #define SOCKOP_sendmsg		16
 #define SOCKOP_recvmsg		17
-#define SOCKOP_paccept		18
+#define SOCKOP_accept4		18
 
 #endif /* sys/socketcall.h */