Fix: "Any" loglevel's value is -1 and not 0
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Nov 2014 23:08:30 +0000 (18:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 Dec 2014 02:22:02 +0000 (21:22 -0500)
commit9b7431cfd4e61bc2b1e3bc859d5a6a79de9aa0ed
treea03e3ea5dcf16c6ab54e50ac23bad1708172e198
parent742e5f181a08ef8d10094cfb78799a3e3680b10b
Fix: "Any" loglevel's value is -1 and not 0

lttng_disable_event_ext() was erroring-out on loglevel != 0.
loglevel 0 is a valid level whereas "-1" is used an unknown/unspecified
in the rest of the code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng/commands/disable_events.c
src/lib/lttng-ctl/lttng-ctl.c
This page took 0.025819 seconds and 4 git commands to generate.