tracing: fix return value to registering events
authorSteven Rostedt <srostedt@redhat.com>
Tue, 3 Mar 2009 14:43:50 +0000 (09:43 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 3 Mar 2009 14:43:50 +0000 (09:43 -0500)
The registering of events had the return value check backwards.
A zero returned is success, the check had it as a failure.

This patch also fixes a missing "\n" in the warning that the check
failed.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found