From: Philippe Proulx Date: Fri, 12 Jul 2019 04:11:27 +0000 (-0400) Subject: Fix: current-thread.h: append from message iterator, not from component X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=cdbf0f10d9e3fc086201f5e7a61fa09d6bb22c8b Fix: current-thread.h: append from message iterator, not from component Reported-by: Simon Marchi Signed-off-by: Philippe Proulx Change-Id: I96c5f54aea280f5a3f16dc6285cb30a5ea05f2ad Reviewed-on: https://review.lttng.org/c/babeltrace/+/1697 Reviewed-by: Simon Marchi Tested-by: jenkins --- diff --git a/include/babeltrace2/current-thread.h b/include/babeltrace2/current-thread.h index 626c2ae6..18da2513 100644 --- a/include/babeltrace2/current-thread.h +++ b/include/babeltrace2/current-thread.h @@ -86,7 +86,7 @@ bt_current_thread_error_append_cause_from_message_iterator( (_self_cc), __FILE__, __LINE__, (_msg_fmt), ##__VA_ARGS__) #define BT_CURRENT_THREAD_ERROR_APPEND_CAUSE_FROM_MESSAGE_ITERATOR(_self_iter, _msg_fmt, ...) \ - bt_current_thread_error_append_cause_from_component( \ + bt_current_thread_error_append_cause_from_message_iterator( \ (_self_iter), __FILE__, __LINE__, (_msg_fmt), ##__VA_ARGS__) #ifdef __cplusplus