# HG changeset patch # User Eric Blake # Date 1343650826 21600 # Node ID dac0cd2e80307dbe36dddcf7f72b2b4b944f2e4d # Parent 12eb566361940cf34c33bfc1f405e8c9b9804b61 passfd: fix comment on recvfd * lib/passfd.c (recvfd): Fix comment. Reported by Jann Horn . Signed-off-by: Eric Blake diff -r 12eb56636194 -r dac0cd2e8030 ChangeLog --- a/ChangeLog Mon Jul 30 11:30:53 2012 +0200 +++ b/ChangeLog Mon Jul 30 06:20:26 2012 -0600 @@ -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 -r 12eb56636194 -r dac0cd2e8030 lib/passfd.c --- a/lib/passfd.c Mon Jul 30 11:30:53 2012 +0200 +++ b/lib/passfd.c Mon Jul 30 06:20:26 2012 -0600 @@ -101,7 +101,7 @@ /* 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)