Forráskód Böngészése

- fix test. Tests are normal userspace and are _not_ part of the libc itself
Thanks to Tobias Poschwatta for pointing out this error.

Bernhard Reutner-Fischer 15 éve
szülő
commit
dbedb35f6c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      test/misc/tst-scandir.c

+ 1 - 1
test/misc/tst-scandir.c

@@ -3,7 +3,7 @@
 
 int skip_all(const struct dirent *dirbuf)
 {
-	__set_errno(EBADF);
+	errno = EBADF;
 	return 0;
 }