summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-09 10:46:42 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-09 10:46:42 +0000
commitdbedb35f6cac0eb5e603f91065ddc6823ac0fb15 (patch)
treedd336efb1893018bf8bea3f6cc4a752e1c56dfe2
parent51abdcd4c3f9e7d1116cddde7e7f1d2a51775ddf (diff)
- fix test. Tests are normal userspace and are _not_ part of the libc itself
Thanks to Tobias Poschwatta for pointing out this error.
-rw-r--r--test/misc/tst-scandir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/misc/tst-scandir.c b/test/misc/tst-scandir.c
index 6e4646142..4d525ae6c 100644
--- a/test/misc/tst-scandir.c
+++ b/test/misc/tst-scandir.c
@@ -3,7 +3,7 @@
int skip_all(const struct dirent *dirbuf)
{
- __set_errno(EBADF);
+ errno = EBADF;
return 0;
}