summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libcsupport/src/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c
index 32fd4076e6..7efa18e829 100644
--- a/cpukit/libcsupport/src/open.c
+++ b/cpukit/libcsupport/src/open.c
@@ -143,6 +143,7 @@ int open(
* returned by successful path evaluation.
*/
+ iop->offset = 0;
iop->handlers = temp_loc.handlers;
iop->file_info = temp_loc.node_access;
iop->flags |= rtems_libio_fcntl_flags( flags );