aboutsummaryrefslogtreecommitdiff
path: root/apps/xauth/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xauth/process.c')
-rw-r--r--apps/xauth/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/xauth/process.c b/apps/xauth/process.c
index a4021c7e6..f4f543cf8 100644
--- a/apps/xauth/process.c
+++ b/apps/xauth/process.c
@@ -810,7 +810,7 @@ write_auth_file(char *tmp_nam)
(void) unlink (tmp_nam);
/* CPhipps 2000/02/12 - fix file unlink/fopen race */
fd = open(tmp_nam, O_WRONLY | O_CREAT | O_EXCL, 0600);
- if (fd != -1) fp = fdopen (fd, "wb");
+ if (fd != -1) fp = _fdopen (fd, "wb");
if (!fp) {
if (fd != -1) close(fd);
fprintf (stderr, "%s: unable to open tmp file \"%s\"\n",