lib: add _msg parameters to _ERRNO logging macros
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 21 Oct 2019 19:56:42 +0000 (15:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:53 +0000 (15:14 -0400)
commitf5896b6fb04016514b737e800d0d0a9fa6eb4eb2
treeb101b3b01aef9b4f2dc9b08ed58bddfb5b424179
parentf488daa2dcd1cc728456e00bf19200fb6b3a5d0d
lib: add _msg parameters to _ERRNO logging macros

The macros BT_COMP_LOGE_APPEND_CAUSE_ERRNO and
BT_COMP_CLASS_LOGE_APPEND_CAUSE_ERRNO are missing the `_msg` parameter
that other _ERRNO macros have.  It still works, because the following
parameters are passed through the variable arguments, but it makes the
macro unnecessarily complicated to use.

Change-Id: Iabb89a24da1641c67b9843c8337aec709c7b3e08
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2229
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/logging/comp-logging.h
This page took 0.024058 seconds and 4 git commands to generate.