]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Fix incorrect printf formats
authorYong Wang <yong.y.wang@linux.intel.com>
Fri, 5 Jun 2009 03:37:35 +0000 (11:37 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 06:22:27 +0000 (08:22 +0200)
commit1c6514b8e08cb14ffc7a73c8397ce1bcdca14dbe
tree29a344bca927b850a5570e456a4f572f0aa63390
parentdb35967ba84954933c1c75baa1c655c07a0aa925
perf_counter tools: Fix incorrect printf formats

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: Yong 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: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-report.c