From 2cbeeec32c15226eb82301749c531faa45c35b53 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 10 Nov 2008 12:12:02 -0500 Subject: [PATCH] bindresvport.3: Since glibc 2.8, EPFNOSUPPORT error is now EAFNOSUPPORT Glibc switched to using a POSIX-specified error code for this error case. http://bugs.linuxbase.org/show_bug.cgi?id=2375 Signed-off-by: Michael Kerrisk Acked-by: Stew Benedict --- man3/bindresvport.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/bindresvport.3 b/man3/bindresvport.3 index 19d97d490..af20dd2bb 100644 --- a/man3/bindresvport.3 +++ b/man3/bindresvport.3 @@ -6,7 +6,7 @@ .\" .\" 2007-05-31, mtk: Rewrite and substantial additional text. .\" -.TH BINDRESVPORT 3 2007-05-31 "" "Linux Programmer's Manual" +.TH BINDRESVPORT 3 2008-11-10 "" "Linux Programmer's Manual" .SH NAME bindresvport \- bind a socket to a privileged IP port .SH SYNOPSIS @@ -63,7 +63,7 @@ Only root can bind to a privileged port; this call will fail for any other users. In addition, the following error may occur: .TP -.B EPFNOSUPPORT +.BR EAFNOSUPPORT " (" EPFNOSUPPORT " in glibc 2.7 and earlier)" .I sin is not NULL and .I sin\->sin_family