Browse Source

lseek should return the resulting offset

Posix lseek returns the resulting offset
pull/27/head
Hans-Erik Floryd 9 years ago
parent
commit
d032aaf881
  1. 2
      src/spiffs_hydrogen.c

2
src/spiffs_hydrogen.c

@ -488,7 +488,7 @@ s32_t SPIFFS_lseek(spiffs *fs, spiffs_file fh, s32_t offs, int whence) {
SPIFFS_UNLOCK(fs); SPIFFS_UNLOCK(fs);
return 0; return offs;
} }
s32_t SPIFFS_remove(spiffs *fs, char *path) { s32_t SPIFFS_remove(spiffs *fs, char *path) {

Loading…
Cancel
Save