Explorar o código

- 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 %!s(int64=15) %!d(string=hai) anos
pai
achega
dbedb35f6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }