[rtems commit] libtests/devfs03: Initialize nodes

Sebastian Huber sebh at rtems.org
Wed Nov 7 14:15:40 UTC 2012


Module:    rtems
Branch:    master
Commit:    3cd79b0a9b528838bb0a77117cffaad852f620a1
Changeset: http://git.rtems.org/rtems/commit/?id=3cd79b0a9b528838bb0a77117cffaad852f620a1

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov  7 13:48:31 2012 +0100

libtests/devfs03: Initialize nodes

---

 testsuites/libtests/devfs03/init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/testsuites/libtests/devfs03/init.c b/testsuites/libtests/devfs03/init.c
index 0f3155b..5c551b0 100644
--- a/testsuites/libtests/devfs03/init.c
+++ b/testsuites/libtests/devfs03/init.c
@@ -39,6 +39,8 @@ rtems_task Init(
 
   puts( "\n\n*** TEST DEVFS03 ***" );
 
+  memset(nodes, 0, sizeof(nodes));
+
   puts( "Init - attempt to create /dir01 -- OK" );
   status = mkdir( "/dir01", S_IRWXU );
   rtems_test_assert( status == 0 );




More information about the vc mailing list