rcmd/rexec: Fix typo in comment

This commit is contained in:
Florian Weimer 2017-04-19 19:30:18 +02:00
parent 25cfd50214
commit b8129a415e
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View 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;

View 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");