Fix: erroneous use of kernel consumer error codes
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 29 Mar 2018 20:43:14 +0000 (16:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:29 +0000 (12:12 -0400)
commitb0cd9aea98fd7f0d3c901263a2d83dd8a2ca7bd2
treeea82948b801158cbf706b74a62e34ccfe8244668
parent3765c8cc40733ddde776d57c1ece30f2b05beea4
Fix: erroneous use of kernel consumer error codes

Errors related to the kernel consumer are returned in a code path
that is only used by the userspace tracer, probably as a result
of copy-pasting code.

This patch changes the codes to the corresponding CONSUMER32/64
ones and makes them negative to honor the convention indicated
in the function's header.

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