aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-19 19:30:18 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-19 22:19:17 +0200
commitb8129a415ec68858d67747644ad868421a399a49 (patch)
tree725ec4e637c54fc33ace0b2f47c180be4d6e206c
parent25cfd50214378545b92ddae04ddd1221c632361b (diff)
downloadglibc-b8129a415ec68858d67747644ad868421a399a49.zip
glibc-b8129a415ec68858d67747644ad868421a399a49.tar.gz
glibc-b8129a415ec68858d67747644ad868421a399a49.tar.bz2
rcmd/rexec: Fix typo in comment
-rw-r--r--ChangeLog5
-rw-r--r--inet/rcmd.c2
-rw-r--r--inet/rexec.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1e004f..e8b81fc 100644
--- 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.
diff --git a/inet/rcmd.c b/inet/rcmd.c
index e43d4af..c285b9e 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -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;
diff --git a/inet/rexec.c b/inet/rexec.c
index 82e15ae..bda5367 100644
--- a/inet/rexec.c
+++ b/inet/rexec.c
@@ -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");