From dbedb35f6cac0eb5e603f91065ddc6823ac0fb15 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 9 Oct 2008 10:46:42 +0000 Subject: - fix test. Tests are normal userspace and are _not_ part of the libc itself Thanks to Tobias Poschwatta for pointing out this error. --- test/misc/tst-scandir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/misc') 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; } -- cgit v1.2.3