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:34:42 +0000 (00:34 +0100)
commitdb58870b8a78ae1a466949318f1a7c9ef1ba3b3e
treec0ace26e055238178691f958150d5a5cec3436fd
parent723c72997abdee0d4f2c9dc57ecc83530b4f1a5c
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.025592 seconds and 4 git commands to generate.