Small patch from Peter Pointner <pr@schenk.isar.de> to correct

invalid use of directive_failed macro.
This commit is contained in:
Joel Sherrill
2000-02-18 14:30:56 +00:00
parent 1509336283
commit 2de8b1b2fa

View File

@@ -42,7 +42,8 @@ rtems_extension Task_switch(
Run_count[ index ] += 1;
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
directive_failed( status, "rtems_clock_get" );
fatal_directive_status_with_level( status, RTEMS_SUCCESSFUL,
"rtems_clock_get", 1 );
put_name( Task_name[ index ], FALSE );
print_time( "- ", &time, "\n" );