summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_syscall.c')
-rw-r--r--cpukit/libnetworking/rtems/rtems_syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c
index b22157861d..324a634426 100644
--- a/cpukit/libnetworking/rtems/rtems_syscall.c
+++ b/cpukit/libnetworking/rtems/rtems_syscall.c
@@ -820,7 +820,7 @@ static const rtems_filesystem_file_handlers_r socket_handlers = {
.lseek_h = rtems_filesystem_default_lseek,
.fstat_h = rtems_bsdnet_fstat,
.ftruncate_h = rtems_filesystem_default_ftruncate,
- .fstat_h = rtems_filesystem_default_fsync_or_fdatasync,
+ .fsync_h = rtems_filesystem_default_fsync_or_fdatasync,
.fdatasync_h = rtems_filesystem_default_fsync_or_fdatasync,
.fcntl_h = rtems_bsdnet_fcntl,
.kqfilter_h = rtems_filesystem_default_kqfilter,