summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/mkdir.c')
-rw-r--r--otherlibs/unix/mkdir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/otherlibs/unix/mkdir.c b/otherlibs/unix/mkdir.c
index 330d366ff..937883786 100644
--- a/otherlibs/unix/mkdir.c
+++ b/otherlibs/unix/mkdir.c
@@ -16,8 +16,7 @@
#include <mlvalues.h>
#include "unixsupport.h"
-value unix_mkdir(path, perm) /* ML */
- value path, perm;
+value unix_mkdir(value path, value perm) /* ML */
{
if (mkdir(String_val(path), Int_val(perm)) == -1) uerror("mkdir", path);
return Val_unit;