mirror of https://github.com/ARMmbed/mbed-os.git
add missing unlock in file_truncate in FATFileSystem
parent
daf61122e8
commit
e42fa8ffe3
|
@ -755,6 +755,7 @@ int FATFileSystem::file_truncate(fs_file_t file, off_t length)
|
|||
return fat_error_remap(res);
|
||||
}
|
||||
|
||||
unlock();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue