From: Eric Blake Date: Mon, 30 Jul 2012 12:20:26 +0000 (-0600) Subject: passfd: fix comment on recvfd X-Git-Tag: v0.1~514 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=7f4d7474bc9b613a5a6577819befb340e1093d67 passfd: fix comment on recvfd * lib/passfd.c (recvfd): Fix comment. Reported by Jann Horn . Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index e72ce7029..b4449103d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-30 Eric Blake + + passfd: fix comment on recvfd + * lib/passfd.c (recvfd): Fix comment. + Reported by Jann Horn . + 2012-07-30 Jim Meyering maint.mk: avoid a sub-shell diff --git a/lib/passfd.c b/lib/passfd.c index 4fac68c45..ddb82daba 100644 --- a/lib/passfd.c +++ b/lib/passfd.c @@ -101,7 +101,7 @@ sendfd (int sock _GL_UNUSED, int fd _GL_UNUSED) /* recvfd receives a file descriptor through the socket. The flags are a bitmask, possibly including O_CLOEXEC (defined in ). - Return 0 on success, or -1 with errno set in case of error. + Return the fd on success, or -1 with errno set in case of error. */ int recvfd (int sock, int flags)