lseek should return the resulting offset

Posix lseek returns the resulting offset
This commit is contained in:
Hans-Erik Floryd
2015-07-06 18:07:50 +02:00
parent beb32b9b4b
commit d032aaf881
+1 -1
View File
@@ -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) {