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)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Oct 2019 20:33:10 +0000 (16:33 -0400)
commit233bf25a7bd6782818a8630fa77c6a66ee6de274
treeb6e21a8e54e258d0c84a9ddf11f78d2312f0b053
parent7c0244d611a76645973a8b4880eb8ffc17ffc604
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.024684 seconds and 4 git commands to generate.