summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-02 09:58:19 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-02 09:58:19 +0000
commit879d6c85af32a368feae1625b38716ea493de699 (patch)
treee34f0613f60a311d2715cdbce127a5c97faaaefb /include
parent8a915880e7c86534859353f40ee18fbbe8004c26 (diff)
make_directory used mode as if it were an signed entity, but in fact
it was a mode_t which is unsigned. Fix it to be signed... -Erik
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index df52027ce..70ac36a86 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -259,7 +259,7 @@ extern int create_icmp_socket(void);
char *dirname (const char *path);
-int make_directory (char *path, mode_t mode, int flags);
+int make_directory (char *path, long mode, int flags);
const char *u_signal_names(const char *str_sig, int *signo, int startnum);