Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysnecv850/fstat.c')
-rw-r--r--newlib/libc/sys/sysnecv850/fstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/sys/sysnecv850/fstat.c b/newlib/libc/sys/sysnecv850/fstat.c
index e8783b376..b7eed0afe 100644
--- a/newlib/libc/sys/sysnecv850/fstat.c
+++ b/newlib/libc/sys/sysnecv850/fstat.c
@@ -13,6 +13,5 @@ int
_fstat (int file,
struct stat *st)
{
- st->st_mode = S_IFCHR;
- return 0;
+ return TRAP0 (SYS_fstat, file, st, 0);
}