• Yong Wang's avatar
    perf_counter tools: Fix incorrect printf formats · ee7b31fe
    Yong Wang authored
    Otherwise the code does not compile on 32-bit boxes.
    
    builtin-report.c: In function 'map__fprintf':
    builtin-report.c:240: error: format '%lx' expects type 'long unsigned int', but argument 3 has type 'uint64_t'
    builtin-report.c:240: error: format '%lx' expects type 'long unsigned int', but argument 4 has type 'uint64_t'
    builtin-report.c:240: error: format '%lx' expects type 'long unsigned int', but argument 5 has type 'uint64_t'
    Signed-off-by: default avatarYong Wang <yong.y.wang@intel.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    LKML-Reference: <20090605033735.GA20451@ywang-moblin2.bj.intel.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    ee7b31fe
builtin-report.c 23.5 KB