Changeset c949d6b0 in rtems


Ignore:
Timestamp:
08/12/05 23:56:16 (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7f041264
Parents:
db0cf9fc
Message:

2005-08-12 Chris Johns <chrisj@…>

PR 808/rtems_misc

  • libcsupport/src/printk.c: Fix bug where specifying field width crashed on pc386 BSP.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rdb0cf9fc rc949d6b0  
     12005-08-12      Chris Johns <chrisj@rtems.org>
     2
     3        PR 808/rtems_misc
     4        * libcsupport/src/printk.c: Fix bug where specifying field width
     5        crashed on pc386 BSP.
     6
    172005-08-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
    28
  • cpukit/libcsupport/src/printk.c

    rdb0cf9fc rc949d6b0  
    5454  toPrint[count++] = num;
    5555
    56   if (maxwidth) {
    57     for (n=maxwidth-count ; n ; n-- )
    58       BSP_output_char(lead);
    59   }
     56  for (n=maxwidth ; n > count; n-- )
     57    BSP_output_char(lead);
    6058
    6159  for (n = 0; n < count; n++){
Note: See TracChangeset for help on using the changeset viewer.