Fix: wrong error check on kernel session creation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 14 Jan 2019 22:09:42 +0000 (17:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 14 Jan 2019 22:56:28 +0000 (17:56 -0500)
commit51630bd8cf4eaffdc8da8fec3c10f46c8110ddea
tree6455d94e99bb3f79249ec6bf734a795758a4d675
parent19d3c73e4f87bd29d77b53e145af175cef7761bb
Fix: wrong error check on kernel session creation

create_kernel_session() returns a positive lttng error code
on error and returns LTTNG_OK on success.

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