[rtems commit] Filesystem: Zero flags in rtems_libio_free()
Sebastian Huber
sebh at rtems.org
Thu Oct 31 13:26:32 UTC 2013
Module: rtems
Branch: master
Commit: d44d31ca0e6b9a6f87a112cfc1151318d52d77b0
Changeset: http://git.rtems.org/rtems/commit/?id=d44d31ca0e6b9a6f87a112cfc1151318d52d77b0
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Oct 25 11:50:12 2013 +0200
Filesystem: Zero flags in rtems_libio_free()
---
cpukit/libcsupport/src/libio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c
index a12a12c..75a7003 100644
--- a/cpukit/libcsupport/src/libio.c
+++ b/cpukit/libcsupport/src/libio.c
@@ -137,7 +137,7 @@ void rtems_libio_free(
rtems_libio_lock();
- iop->flags &= ~LIBIO_FLAGS_OPEN;
+ iop->flags = 0;
iop->data1 = rtems_libio_iop_freelist;
rtems_libio_iop_freelist = iop;
More information about the vc
mailing list