aboutsummaryrefslogtreecommitdiffstats
path: root/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkstemp.c')
-rw-r--r--mkstemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkstemp.c b/mkstemp.c
index dc847f68cc..93e34a6cbf 100644
--- a/mkstemp.c
+++ b/mkstemp.c
@@ -39,7 +39,7 @@
#include <glib.h>
-#include "file_util.h"
+#include <wsutil/file_util.h>
#ifndef __set_errno
#define __set_errno(x) errno=(x)
@@ -76,7 +76,7 @@ mkstemp (template)
template[len - 6] = letters[i];
- fd = eth_open (template, O_RDWR|O_BINARY|O_CREAT|O_EXCL, 0600);
+ fd = ws_open (template, O_RDWR|O_BINARY|O_CREAT|O_EXCL, 0600);
if (fd >= 0)
return fd;
}