From a761f5650d49d2ba73766854423911058f6225a8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Oct 2002 20:13:39 +0000 Subject: 2002-10-31 Joel Sherrill * stackchk/check.c: Removed warning. --- c/src/libmisc/ChangeLog | 4 ++++ c/src/libmisc/stackchk/check.c | 5 +++-- cpukit/libmisc/ChangeLog | 4 ++++ cpukit/libmisc/stackchk/check.c | 5 +++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog index 9ae867446b..ff60390d43 100644 --- a/c/src/libmisc/ChangeLog +++ b/c/src/libmisc/ChangeLog @@ -1,3 +1,7 @@ +2002-10-31 Joel Sherrill + + * stackchk/check.c: Removed warning. + 2002-10-26 Ralf Corsepius * monitor/mon-command.c: Don't build rtems_monitor_line_editor for diff --git a/c/src/libmisc/stackchk/check.c b/c/src/libmisc/stackchk/check.c index 8be5346fd5..c51d9484b2 100644 --- a/c/src/libmisc/stackchk/check.c +++ b/c/src/libmisc/stackchk/check.c @@ -338,8 +338,9 @@ void Stack_check_report_blown_task(void) fprintf( stderr, - " Damaged pattern begins at 0x%08x and is %d bytes long\n", - (unsigned32) Stack_check_Get_pattern_area(stack), PATTERN_SIZE_BYTES); + " Damaged pattern begins at 0x%08lx and is %ld bytes long\n", + (unsigned long) Stack_check_Get_pattern_area(stack), + PATTERN_SIZE_BYTES); fflush(stderr); rtems_fatal_error_occurred( (unsigned32) "STACK BLOWN" ); diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog index 9ae867446b..ff60390d43 100644 --- a/cpukit/libmisc/ChangeLog +++ b/cpukit/libmisc/ChangeLog @@ -1,3 +1,7 @@ +2002-10-31 Joel Sherrill + + * stackchk/check.c: Removed warning. + 2002-10-26 Ralf Corsepius * monitor/mon-command.c: Don't build rtems_monitor_line_editor for diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 8be5346fd5..c51d9484b2 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -338,8 +338,9 @@ void Stack_check_report_blown_task(void) fprintf( stderr, - " Damaged pattern begins at 0x%08x and is %d bytes long\n", - (unsigned32) Stack_check_Get_pattern_area(stack), PATTERN_SIZE_BYTES); + " Damaged pattern begins at 0x%08lx and is %ld bytes long\n", + (unsigned long) Stack_check_Get_pattern_area(stack), + PATTERN_SIZE_BYTES); fflush(stderr); rtems_fatal_error_occurred( (unsigned32) "STACK BLOWN" ); -- cgit v1.2.3