From: Jonathan Rajotte Julien Date: Wed, 27 Aug 2014 19:46:57 +0000 (-0400) Subject: Fix: parse_prob_opts return the actual success of the function X-Git-Tag: v2.6.0-rc1~73 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=49d4e302bc85172e1bced944b0ff51fefa579931;hp=49d4e302bc85172e1bced944b0ff51fefa579931;p=lttng-tools.git 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 Signed-off-by: David Goulet ---