From b8129a415ec68858d67747644ad868421a399a49 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 19 Apr 2017 19:30:18 +0200 Subject: rcmd/rexec: Fix typo in comment --- inet/rcmd.c | 2 +- inet/rexec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'inet') diff --git a/inet/rcmd.c b/inet/rcmd.c index e43d4af818..c285b9ecd6 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 82e15aef05..bda536723b 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"); -- cgit 1.4.1