Changeset 8ed4014 in mainline for kernel/generic/src/debug/symtab.c


Ignore:
Timestamp:
2008-06-03T14:49:03Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
49eec93
Parents:
93a3348
Message:

proper printf formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/symtab.c

    r93a3348 r8ed4014  
    4040#include <func.h>
    4141#include <print.h>
     42#include <arch/types.h>
     43#include <typedefs.h>
    4244
    4345/** Return entry that seems most likely to correspond to argument.
     
    140142                addr =  uint64_t_le2host(symbol_table[i].address_le);
    141143                realname = symbol_table[i].symbol_name;
    142                 printf("%.*p: %s\n", sizeof(uintptr_t) * 2, addr, realname);
     144                printf("%p: %s\n", addr, realname);
    143145                i++;
    144146        }
Note: See TracChangeset for help on using the changeset viewer.