modified to compile for me

Fork of FATFileSystem by mbed official

Revision:
5:b3b3370574cf
Parent:
1:46ce1e16c870
Child:
8:c4baca9a2c3d
--- a/FATDirHandle.cpp	Thu Aug 28 13:15:31 2014 +0100
+++ b/FATDirHandle.cpp	Thu Aug 13 10:15:39 2015 +0100
@@ -30,8 +30,9 @@
 }
 
 int FATDirHandle::closedir() {
+    int retval = f_closedir(&dir);
     delete this;
-    return 0;
+    return retval;
 }
 
 struct dirent *FATDirHandle::readdir() {