From 3ad7769474ff65bc90236d717b3879da0eeab19f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 1 Jan 2016 11:43:52 +0100 Subject: [PATCH] accept.2: ERRORS: improve description for EBADF Signed-off-by: Michael Kerrisk --- man2/accept.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/accept.2 b/man2/accept.2 index f6109231f..f4b70980c 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -223,7 +223,8 @@ and do not require these constants to have the same value, so a portable application should check for both possibilities. .TP .B EBADF -The descriptor is invalid. +.I sockfd +is not an open file descriptor. .TP .B ECONNABORTED A connection has been aborted.