diff options
Diffstat (limited to 'newlib/libc/sys/sysnecv850/fstat.c')
-rw-r--r-- | newlib/libc/sys/sysnecv850/fstat.c | 3 |
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); } |