]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Replace %m with %a in sscanf
authorLiming Wang <liming.wang@windriver.com>
Wed, 2 Dec 2009 08:42:54 +0000 (16:42 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 2 Dec 2009 09:12:16 +0000 (10:12 +0100)
commit20016361b9802d60ddbd992f5830069586e70235
tree0f4f166ec58dea57930c0026430ca45cbe4fdf0c
parentbfb33db2731a52552c4eaf8063e486944c931763
perf tools: Replace %m with %a in sscanf

Not all glibc support %m and it results in a compile error if
%m not supported. Replace it with %a and (float *) casts.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: peterz@infradead.org
Cc: mhiramat@redhat.com
LKML-Reference: <1259743374-9950-1-git-send-email-liming.wang@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/probe-event.c