Changeset 1737e8f in rtems


Ignore:
Timestamp:
Nov 18, 2017, 6:01:41 AM (3 years ago)
Author:
Andrei Chichak <andrei@…>
Branches:
master
Children:
28fb9059
Parents:
e9e0f1d4
git-author:
Andrei Chichak <andrei@…> (11/18/17 06:01:41)
git-committer:
Chris Johns <chrisj@…> (12/06/17 22:46:32)
Message:

libmisc/stackchk/check.c: correct formatting of stack pointers in Stack_check_Dump_threads_usage

Pointers were being printed as 0x<decimal> rather than 0x<hex>. I altered the formatting define used
to give the correct formatting.
Close #3240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/stackchk/check.c

    re9e0f1d4 r1737e8f  
    408408  rtems_printf(
    409409    printer,
    410     "0x%08" PRIx32 " %-21s 0x%08" PRIuPTR " 0x%08" PRIuPTR " 0x%08" PRIuPTR " %6" PRId32 " ",
     410    "0x%08" PRIx32 " %-21s 0x%08" PRIxPTR " 0x%08" PRIxPTR " 0x%08" PRIxPTR " %6" PRId32 " ",
    411411    id,
    412412    name,
     
    452452     printer,
    453453     "                             STACK USAGE BY THREAD\n"
    454      "ID         NAME                  LOW        HIGH       CURRENT    AVAIL  USED\n"
     454     "ID         NAME                  LOW        HIGH       CURRENT     AVAIL   USED\n"
    455455  );
    456456
Note: See TracChangeset for help on using the changeset viewer.