fixup! ntfsusermap.c: provide mode with mkdir

pull/106/head
CodingKoopa 2024-03-09 03:18:14 +00:00
parent 0038d946be
commit 00e2074920
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ static boolean outputmap(const char *volume, const char *dir)
printf("* Creating directory %s\n", fullname);
#ifdef __CYGWIN__
// The one-argument mkdir is exclusive to msvcrt.dll.
mkdir(fullname, 777);
mkdir(fullname, 0777);
#else
mkdir(fullname);
#endif