mirror of
https://github.com/pellepl/spiffs.git
synced 2026-10-22 07:28:13 +00:00
Merge pull request #27 from hefloryd/master
lseek should return the resulting offset
This commit is contained in:
@@ -488,7 +488,7 @@ s32_t SPIFFS_lseek(spiffs *fs, spiffs_file fh, s32_t offs, int whence) {
|
||||
|
||||
SPIFFS_UNLOCK(fs);
|
||||
|
||||
return 0;
|
||||
return offs;
|
||||
}
|
||||
|
||||
s32_t SPIFFS_remove(spiffs *fs, char *path) {
|
||||
|
||||
Reference in New Issue
Block a user