]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
rcmd/rexec: Fix typo in comment
authorFlorian Weimer <fweimer@redhat.com>
Wed, 19 Apr 2017 17:30:18 +0000 (19:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 19 Apr 2017 20:19:17 +0000 (22:19 +0200)
ChangeLog
inet/rcmd.c
inet/rexec.c

index e1e004f2205972d21c2b606c133727aa94adaa86..e8b81fcc2a472cf291bb88b08635282753720e69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-19  Florian Weimer  <fweimer@redhat.com>
+
+       * inet/rcmd.c (rresvport_af): Fix typo in comment.
+       * inet/rexec.c (rexec_af): Likewise.
+
 2017-04-19  Zack Weinberg  <zackw@panix.com>
 
        * posix/tst-mmap-offset.c: Include stdint.h.
index e43d4af8183285e60e61c4515bb8710b043a8057..c285b9ecd62533d3d6b0b89173d83ee79134fea4 100644 (file)
@@ -383,7 +383,7 @@ rresvport_af (int *alport, sa_family_t family)
                __set_errno (EAFNOSUPPORT);
                return -1;
        }
-       /* NB: No SOCK_CLOXEC for backwards compatibility.  */
+       /* NB: No SOCK_CLOEXEC for backwards compatibility.  */
        s = __socket(family, SOCK_STREAM, 0);
        if (s < 0)
                return -1;
index 82e15aef0542fb90f7690db1bf8e4bba967aadb4..bda536723bcc414485d6ad4815852eed035f426f 100644 (file)
@@ -86,7 +86,7 @@ rexec_af (char **ahost, int rport, const char *name, const char *pass,
        }
        ruserpass(res0->ai_canonname, &name, &pass);
 retry:
-       /* NB: No SOCK_CLOXEC for backwards compatibility.  */
+       /* NB: No SOCK_CLOEXEC for backwards compatibility.  */
        s = __socket(res0->ai_family, res0->ai_socktype, 0);
        if (s < 0) {
                perror("rexec: socket");