]> Savannah Git Hosting - gnulib.git/commitdiff
passfd: fix comment on recvfd
authorEric Blake <eblake@redhat.com>
Mon, 30 Jul 2012 12:20:26 +0000 (06:20 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 30 Jul 2012 12:21:07 +0000 (06:21 -0600)
* lib/passfd.c (recvfd): Fix comment.
Reported by Jann Horn <jannhorn@googlemail.com>.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/passfd.c

index e72ce70297c8de460fbede948bd81770b6b369d1..b4449103de3c8675f96e45ba636174a877f7c12d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-30  Eric Blake  <eblake@redhat.com>
+
+       passfd: fix comment on recvfd
+       * lib/passfd.c (recvfd): Fix comment.
+       Reported by Jann Horn <jannhorn@googlemail.com>.
+
 2012-07-30  Jim Meyering  <meyering@redhat.com>
 
        maint.mk: avoid a sub-shell
index 4fac68c45c74fea1c6a807b246cc167c15fde5a6..ddb82dabac8ca04c1769461ae9aacd7081680250 100644 (file)
@@ -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 <fcntl.h>).
 
-   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)