瀏覽代碼

Fix compilation error in minirent.h

rexim 4 年之前
父節點
當前提交
25b863a25d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
         }
     }