[rtems-docs commit] c-user: changed RTEMS_STATUS_SUCCESSFUL to RTEMS_SUCCESSFUL

Chris Johns chrisj at rtems.org
Sat May 19 20:33:29 UTC 2018


Module:    rtems-docs
Branch:    master
Commit:    e23a3ce97002cead21b571bfb6ed9179b12a5a16
Changeset: http://git.rtems.org/rtems-docs/commit/?id=e23a3ce97002cead21b571bfb6ed9179b12a5a16

Author:    Malte Münch <mamu at stablerock.de>
Date:      Sat May 19 21:31:51 2018 +0200

c-user: changed RTEMS_STATUS_SUCCESSFUL to RTEMS_SUCCESSFUL

---

 c-user/example_application.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c-user/example_application.rst b/c-user/example_application.rst
index 194382e..8a030fd 100644
--- a/c-user/example_application.rst
+++ b/c-user/example_application.rst
@@ -35,13 +35,13 @@ Example Application
             name, 1, RTEMS_MINIMUM_STACK_SIZE,
             RTEMS_NO_PREEMPT, RTEMS_FLOATING_POINT, &tid
         );
-        if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+        if ( status != RTEMS_SUCCESSFUL ) {
             printf( "rtems_task_create failed with status of %d.\n", status );
             exit( 1 );
         }
 
         status = rtems_task_start( tid, user_application, 0 );
-        if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+        if ( status != RTEMS_SUCCESSFUL ) {
             printf( "rtems_task_start failed with status of %d.\n", status );
             exit( 1 );
         }



More information about the vc mailing list