Parcourir la source

- 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 il y a 15 ans
Parent
commit
dbedb35f6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
 }