Browse Source

Fix compilation error in minirent.h

rexim 4 years ago
parent
commit
25b863a25d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      minirent.h

+ 1 - 1
minirent.h

@@ -84,7 +84,7 @@ struct dirent *readdir(DIR *dirp)
         if(!FindNextFile(dirp->hFind, &dirp->data)) {
             // TODO: readdir should set errno accordingly on FindFirstFile fail
             // https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror
-            errno = ENOSYS
+            errno = ENOSYS;
             return NULL;
         }
     }