diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-09 10:46:42 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-09 10:46:42 +0000 |
commit | dbedb35f6cac0eb5e603f91065ddc6823ac0fb15 (patch) | |
tree | dd336efb1893018bf8bea3f6cc4a752e1c56dfe2 /test/misc/tst-scandir.c | |
parent | 51abdcd4c3f9e7d1116cddde7e7f1d2a51775ddf (diff) |
- fix test. Tests are normal userspace and are _not_ part of the libc itself
Thanks to Tobias Poschwatta for pointing out this error.
Diffstat (limited to 'test/misc/tst-scandir.c')
-rw-r--r-- | test/misc/tst-scandir.c | 2 |
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; } |