Run Nick G's spellchecker github.com/client9/misspell, carefuly fix what it found (#4235)

This commit is contained in:
dkegel-fastly
2024-04-19 06:57:01 -07:00
committed by GitHub
parent 7122755725
commit 39029cc376
39 changed files with 48 additions and 48 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ func Fdclosedir(dir uintptr) (err error) {
func Readdir(dir uintptr) (dirent *Dirent, err error) {
// There might be a leftover errno value in the global variable, so we have
// to clear it before calling readdir because we cannot know whether a nil
// return means that we reached EOF or that an error occured.
// return means that we reached EOF or that an error occurred.
libcErrno = 0
dirent = libc_readdir(unsafe.Pointer(dir))