summaryrefslogtreecommitdiff
path: root/src/getauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getauth.c')
-rw-r--r--src/getauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getauth.c b/src/getauth.c
index abd5644..b792e3e 100644
--- a/src/getauth.c
+++ b/src/getauth.c
@@ -146,7 +146,7 @@ _IceGetPoValidAuthIndices (
if (access (filename, R_OK) != 0) /* checks REAL id */
return;
- if (!(auth_file = fopen (filename, "rb")))
+ if (!(auth_file = fopen (filename, "rb" FOPEN_CLOEXEC)))
return;
for (;;)