perf sched: Fix allocation result check
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jan 2011 12:48:47 +0000 (10:48 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jan 2011 12:48:47 +0000 (10:48 -0200)
commite462dc553ea5e09d4713e7c35a11ed331dc6f369
treea610558337fe270cc778643e41a209d4d8bca577
parent4385428a477559b26736cc3c80d8b68f31126c71
perf sched: Fix allocation result check

Bug introduced in ce47dc56.

Reported-by: Mike Galbraith <efault@gmx.de>
Cc: Chris Samuel <chris@csamuel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c