diff options
Diffstat (limited to 'test/misc')
-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; } |