about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-21 18:15:26 -0700
committerPetr Baudis <pasky@suse.cz>2009-05-22 05:02:28 +0200
commit917dc587df5b051e5a13647f11e8ca824cb30cd7 (patch)
treef03c46fd239616c58ee1653a9823356cd3d18470
parentcd816bef9505a03a9c0cfebbedb75bbfd779c147 (diff)
downloadglibc-917dc587df5b051e5a13647f11e8ca824cb30cd7.tar.gz
glibc-917dc587df5b051e5a13647f11e8ca824cb30cd7.tar.xz
glibc-917dc587df5b051e5a13647f11e8ca824cb30cd7.zip
Correct socketcall argument for accept4.
The header had the old name (paccept).
(cherry picked from commit a2292378d0d629c26edfae6b197efbdb362a7094)
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/socketcall.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 356b9fbb62..16f3e53c9a 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-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 */