Преглед на файлове

- fix test. Tests are normal userspace and are _not_ part of the libc itself
Thanks to Tobias Poschwatta for pointing out this error.

Bernhard Reutner-Fischer преди 15 години
родител
ревизия
dbedb35f6c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/misc/tst-scandir.c

+ 1 - 1
test/misc/tst-scandir.c

@@ -3,7 +3,7 @@
 
 int skip_all(const struct dirent *dirbuf)
 {
-	__set_errno(EBADF);
+	errno = EBADF;
 	return 0;
 }