Changeset 64a617f in mainline for boot/generic/src/printf_core.c


Ignore:
Timestamp:
2012-04-17T10:21:04Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63920b0
Parents:
96c0b7b
Message:

backport printf fixes to kernel and boot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/src/printf_core.c

    r96c0b7b r64a617f  
    210210        /* Print leading spaces. */
    211211        size_t strw = str_length(str);
    212         if (precision == 0)
     212        if ((precision == 0) || (precision > strw))
    213213                precision = strw;
    214214       
Note: See TracChangeset for help on using the changeset viewer.