Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/nslcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/nslcd.c')
-rw-r--r--nslcd/nslcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index 9e22682..0816647 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -283,7 +283,7 @@ static int create_socket(const char *filename)
log_log(LOG_WARNING, "problem closing socket: %s", strerror(errno));
exit(EXIT_FAILURE);
}
- /* close the file descriptor on exit */
+ /* close the file descriptor on exec */
if (fcntl(sock, F_SETFD, FD_CLOEXEC) < 0)
{
log_log(LOG_ERR, "fctnl(F_SETFL,FD_CLOEXEC) on %s failed: %s",