summaryrefslogtreecommitdiffstats
path: root/include/fileutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fileutils.h')
-rw-r--r--include/fileutils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fileutils.h b/include/fileutils.h
index 33aba0a0d..cf29e1b83 100644
--- a/include/fileutils.h
+++ b/include/fileutils.h
@@ -1,13 +1,13 @@
#ifndef UTIL_LINUX_FILEUTILS
#define UTIL_LINUX_FILEUTILS
-extern int xmkstemp(char **tmpname);
+extern int xmkstemp(char **tmpname, char *dir);
-static inline FILE *xfmkstemp(char **tmpname)
+static inline FILE *xfmkstemp(char **tmpname, char *dir)
{
int fd;
FILE *ret;
- fd = xmkstemp(tmpname);
+ fd = xmkstemp(tmpname, dir);
if (fd == -1) {
return NULL;
}