about summary refs log tree commit diff stats
path: root/src/io/tempfile.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/tempfile.nim')
-rw-r--r--src/io/tempfile.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/tempfile.nim b/src/io/tempfile.nim
index 5968270b..44c63297 100644
--- a/src/io/tempfile.nim
+++ b/src/io/tempfile.nim
@@ -1,7 +1,7 @@
 import std/os
 
 var tmpf_seq: int
-proc getTempFile*(tmpdir: string, ext = ""): string =
+proc getTempFile*(tmpdir: string; ext = ""): string =
   if not dirExists(tmpdir):
     createDir(tmpdir)
   var tmpf = tmpdir / "chatmp" & $getCurrentProcessId() & "-" & $tmpf_seq