Changeset 7e752b2 in mainline for boot/arch/ia64/src/main.c


Ignore:
Timestamp:
2010-11-26T01:33:20Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf61d3a
Parents:
202f57b
Message:
  • correct printf() formatting strings and corresponding arguments
  • minor cstyle changes and other small fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/src/main.c

    r202f57b r7e752b2  
    6262       
    6363        printf(" %p|%p: boot info structure\n", &bootinfo, &bootinfo);
    64         printf(" %p|%p: kernel entry point\n", KERNEL_ADDRESS, KERNEL_ADDRESS);
    65         printf(" %p|%p: loader entry point\n", LOADER_ADDRESS, LOADER_ADDRESS);
     64        printf(" %p|%p: kernel entry point\n",
     65            (void *) KERNEL_ADDRESS, (void *) KERNEL_ADDRESS);
     66        printf(" %p|%p: loader entry point\n",
     67            (void *) LOADER_ADDRESS, (void *) LOADER_ADDRESS);
    6668       
    6769        size_t i;
    6870        for (i = 0; i < COMPONENTS; i++)
    69                 printf(" %p|%p: %s image (%u/%u bytes)\n", components[i].start,
     71                printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].start,
    7072                    components[i].start, components[i].name,
    7173                    components[i].inflated, components[i].size);
Note: See TracChangeset for help on using the changeset viewer.