mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
Fix folder creation
This commit is contained in:
parent
936f164b55
commit
9b4c95a951
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ static void mkdir_path(char *path_with_reserve, int pos, const char *name)
|
||||||
strcpy(path_with_reserve + pos, name);
|
strcpy(path_with_reserve + pos, name);
|
||||||
if (plat_is_dir(path_with_reserve))
|
if (plat_is_dir(path_with_reserve))
|
||||||
return;
|
return;
|
||||||
if (mkdir(path_with_reserve, 0777) < 0)
|
if (mkdir(path_with_reserve, 0755) < 0)
|
||||||
lprintf("failed to create: %s\n", path_with_reserve);
|
lprintf("failed to create: %s\n", path_with_reserve);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue