[rtems commit] ticker/init.c: Error should say clock set not get

Joel Sherrill joel at rtems.org
Mon Jul 22 17:53:18 UTC 2019


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Jul 22 12:52:46 2019 -0500

ticker/init.c: Error should say clock set not get

---

 testsuites/samples/ticker/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/samples/ticker/init.c b/testsuites/samples/ticker/init.c
index a9e0c9b..5bd5568 100644
--- a/testsuites/samples/ticker/init.c
+++ b/testsuites/samples/ticker/init.c
@@ -41,7 +41,7 @@ rtems_task Init(
   time.ticks  = 0;
 
   status = rtems_clock_set( &time );
-  directive_failed( status, "clock get" );
+  directive_failed( status, "clock set" );
 
   Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
   Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );




More information about the vc mailing list