Fix typo in sys_fs_mkdir

create_path is a less resticted version of create_dir, it doesnt check for EEXIST for one.
This commit is contained in:
eladash 2018-11-11 11:54:32 +02:00 committed by Ivan
parent 37b6afaf2c
commit 57b7892de6

View File

@ -744,7 +744,7 @@ error_code sys_fs_mkdir(vm::cptr<char> path, s32 mode)
return {CELL_ENOTMOUNTED, path};
}
if (!fs::create_path(local_path))
if (!fs::create_dir(local_path))
{
switch (auto error = fs::g_tls_error)
{