Fix: parse_prob_opts return the actual success of the function
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 27 Aug 2014 19:46:57 +0000 (15:46 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 3 Sep 2014 18:41:24 +0000 (14:41 -0400)
commitfbdb7e15cbe6235cadaaa7c1b2213f128e747e47
tree411f154602a170380a52266e749776d2724cd932
parentefbb2bae642da1b855903de297d525e38bd733c6
Fix: parse_prob_opts return the actual success of the function

This bug have been triggered by the mi merging and the use of a
command_ret in enable_events functions. Previously, enable_events was
reusing the ret variable for another operation and always replacing ret.
Parse_probe_event returned the last output of sscanf which represent
the number of match and not the success of the operation.

Fixes #830

Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/enable_events.c
This page took 0.025712 seconds and 4 git commands to generate.