mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
rcmd/rexec: Fix typo in comment
This commit is contained in:
parent
25cfd50214
commit
b8129a415e
@ -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>
|
2017-04-19 Zack Weinberg <zackw@panix.com>
|
||||||
|
|
||||||
* posix/tst-mmap-offset.c: Include stdint.h.
|
* posix/tst-mmap-offset.c: Include stdint.h.
|
||||||
|
@ -383,7 +383,7 @@ rresvport_af (int *alport, sa_family_t family)
|
|||||||
__set_errno (EAFNOSUPPORT);
|
__set_errno (EAFNOSUPPORT);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* NB: No SOCK_CLOXEC for backwards compatibility. */
|
/* NB: No SOCK_CLOEXEC for backwards compatibility. */
|
||||||
s = __socket(family, SOCK_STREAM, 0);
|
s = __socket(family, SOCK_STREAM, 0);
|
||||||
if (s < 0)
|
if (s < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -86,7 +86,7 @@ rexec_af (char **ahost, int rport, const char *name, const char *pass,
|
|||||||
}
|
}
|
||||||
ruserpass(res0->ai_canonname, &name, &pass);
|
ruserpass(res0->ai_canonname, &name, &pass);
|
||||||
retry:
|
retry:
|
||||||
/* NB: No SOCK_CLOXEC for backwards compatibility. */
|
/* NB: No SOCK_CLOEXEC for backwards compatibility. */
|
||||||
s = __socket(res0->ai_family, res0->ai_socktype, 0);
|
s = __socket(res0->ai_family, res0->ai_socktype, 0);
|
||||||
if (s < 0) {
|
if (s < 0) {
|
||||||
perror("rexec: socket");
|
perror("rexec: socket");
|
||||||
|
Loading…
Reference in New Issue
Block a user