diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-03 09:43:50 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-03 09:43:50 -0500 |
commit | 633ddaa7f471e9db181f993c1458d6f4bae321ca (patch) | |
tree | 2bf2e419c004cdbce77b1ba3b4cbd5c28cf45bd7 /lib/string.c | |
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions