Ignore:
Timestamp:
2017-10-10T18:21:17Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a4fb8d60
Parents:
c46bfbc
Message:

Add PRI*PTR macros and correct a few printfs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/rtld/reloc.c

    rc46bfbc r33f86a3  
    3737#include <stdio.h>
    3838#include <stdlib.h>
     39#include <inttypes.h>
    3940
    4041#include <libarch/rtld/elf_dyn.h>
     
    7980        str_tab = m->dyn.str_tab;
    8081
    81         DPRINTF("address: 0x%x, entries: %d\n", (uintptr_t)rt, rt_entries);
     82        DPRINTF("address: 0x%" PRIxPTR ", entries: %zd\n", (uintptr_t)rt, rt_entries);
    8283       
    8384        for (i = 0; i < rt_entries; ++i) {
Note: See TracChangeset for help on using the changeset viewer.