commit | 633ddaa7f471e9db181f993c1458d6f4bae321ca | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Tue Mar 03 09:43:50 2009 -0500 |
committer | Steven Rostedt <srostedt@redhat.com> | Tue Mar 03 09:43:50 2009 -0500 |
tree | 2bf2e419c004cdbce77b1ba3b4cbd5c28cf45bd7 | |
parent | c79a61f55773d2519fd0525bf58385f7d20752d3 [diff] |
tracing: fix return value to registering events 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>