summaryrefslogtreecommitdiff
path: root/libbb/make_directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/make_directory.c')
-rw-r--r--libbb/make_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index 54d9b4c..0a9d7b1 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -33,7 +33,7 @@
* Also create parent directories as necessary if flags contains
* FILEUTILS_RECUR. */
-int make_directory (char *path, mode_t mode, int flags)
+int make_directory (char *path, long mode, int flags)
{
if (!(flags & FILEUTILS_RECUR)) {
if (mkdir (path, 0777) < 0) {