---
 posix_api/psx_sched_report/psx_sched_report.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/posix_api/psx_sched_report/psx_sched_report.c 
b/posix_api/psx_sched_report/psx_sched_report.c
index b0381aa..ec0530c 100644
--- a/posix_api/psx_sched_report/psx_sched_report.c
+++ b/posix_api/psx_sched_report/psx_sched_report.c
@@ -25,7 +25,7 @@ void print_sched_info(
   printf( "Information on %s\n", s );
   min = sched_get_priority_min( policy );
   max = sched_get_priority_max( policy );
-  (void) sched_rr_get_interval( 1, &t );
+  (void) sched_rr_get_interval( getpid(), &t );
   levels = abs(max - min + 1);
   printf( "\tSupports %d priority levels (%d - %d)\n", levels, min, max  );
   if ( levels >= 32 )
-- 
1.8.3.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to