Changeset 5c12a265 in rtems


Ignore:
Timestamp:
08/12/05 23:55:14 (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
5978038f
Parents:
3424a93a
Message:

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

PR 808/rtems_misc

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

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

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

    r3424a93a r5c12a265  
    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.