OSDN Git Service

- fix test. Tests are normal userspace and are _not_ part of the libc itself
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 9 Oct 2008 10:46:42 +0000 (10:46 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 9 Oct 2008 10:46:42 +0000 (10:46 -0000)
  Thanks to Tobias Poschwatta for pointing out this error.

test/misc/tst-scandir.c

index 6e46461..4d525ae 100644 (file)
@@ -3,7 +3,7 @@
 
 int skip_all(const struct dirent *dirbuf)
 {
-       __set_errno(EBADF);
+       errno = EBADF;
        return 0;
 }