about summary refs log tree commit diff
path: root/misc/mkostemp64.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mkostemp64.c')
-rw-r--r--misc/mkostemp64.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/mkostemp64.c b/misc/mkostemp64.c
index c68e03dff5..a7bf00d9ef 100644
--- a/misc/mkostemp64.c
+++ b/misc/mkostemp64.c
@@ -27,11 +27,9 @@
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkostemp64 (template, flags)
-     char *template;
-     int flags;
+mkostemp64 (char *template, int flags)
 {
-  return __gen_tempname (template, 0, flags | O_LARGEFILE, __GT_FILE);
+  return mkostemp (template, flags | O_LARGEFILE);
 }
 
 #endif