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 'libgloss/m68k/bdm-fstat.c')
-rw-r--r--libgloss/m68k/bdm-fstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/m68k/bdm-fstat.c b/libgloss/m68k/bdm-fstat.c
index f93f854f6..e8fb67619 100644
--- a/libgloss/m68k/bdm-fstat.c
+++ b/libgloss/m68k/bdm-fstat.c
@@ -37,7 +37,7 @@ int fstat (int fd, struct stat *buf)
struct gdb_stat gbuf;
parameters[0] = (uint32_t) fd;
parameters[1] = (uint32_t) &gbuf;
- BDM_TRAP (BDM_FSTAT, (uint32_t)parameters);
+ __bdm_semihost (BDM_FSTAT, parameters);
convert_from_gdb_stat (&gbuf, buf);
errno = convert_from_gdb_errno (parameters[1]);
return parameters[0];