Procházet zdrojové kódy

- 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 před 15 roky
rodič
revize
dbedb35f6c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
 }