]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit93aaa45a6ad3f983180223601fc663cc551ad499
tree0f4f166ec58dea57930c0026430ca45cbe4fdf0c
parent1cedae72904b85462082dbcfd5190309ba37f8bd
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