perf probe: Fix format specified for Dwarf_Off parameter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 23 Oct 2010 17:12:29 +0000 (15:12 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 23 Oct 2010 17:31:20 +0000 (15:31 -0200)
commit66a301c380d4e463424db572b348de4913ec191a
tree340bb61033d29b54c81920fbc11c997b06a6911b
parentd1e95bb5309f98368dd4fbef6ff3a8f573b24506
perf probe: Fix format specified for Dwarf_Off parameter

Fixing the following error on 32-bit arches:

util/probe-finder.c: In function ‘line_range_search_cb’:
util/probe-finder.c:1734: error: format ‘%lx’ expects type ‘long
unsigned int’, but argument 3 has type ‘Dwarf_Off’

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c