Fix: unknown consumer type considered a libc error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 22:45:30 +0000 (23:45 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Nov 2017 23:33:46 +0000 (00:33 +0100)
commit3c515f4d801e86fda78630aea2a4ec74454a3e5a
treec0da5fa020eb31f0cec58ed02e2bdc8e308fe62f
parented6c7ac8aef8112943e3e7ae3dedd0ff453f4c73
Fix: unknown consumer type considered a libc error

The PERROR() macro uses the errno variable to print an error
message. However, the consumer type being invalid is an internal
error. The value of errno, at that point, is unrelated to the
error.

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