Changeset 10d73d8 in mainline for kernel/test/print/print4.c


Ignore:
Timestamp:
2009-03-24T15:27:08Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6a75902c
Parents:
08b5601
Message:

fix wchar_t printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/print/print4.c

    r08b5601 r10d73d8  
    5050                }
    5151               
    52                 printf("\nExtended ASCII characters (128 - 255) using printf(\"%%c\") and printf(\"%%lc\"):\n");
     52                printf("\nExtended ASCII characters (128 - 255) using printf(\"%%lc\"):\n");
    5353               
    5454                for (hextet = 8; hextet < 16; hextet++) {
     
    5656                       
    5757                        uint8_t index;
    58                         for (index = 0; index < 16; index++)
    59                                 printf("%c", (char) ((hextet << 4) + index));
    60                        
    61                         printf("  ");
    6258                        for (index = 0; index < 16; index++)
    6359                                printf("%lc", (wchar_t) ((hextet << 4) + index));
Note: See TracChangeset for help on using the changeset viewer.