The previous message, "Library precondition not satisfied", was
misleading because the following message does not indicate the
precondition, but how the precondition was not satisfied.
Making it "Library precondition not satisfied; error is:" here to make
it clear that the following message indicates what the error is.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
# define BT_ASSERT_PRE(_cond, _fmt, ...) \
do { \
if (!(_cond)) { \
# define BT_ASSERT_PRE(_cond, _fmt, ...) \
do { \
if (!(_cond)) { \
- BT_LOGF_STR("Library precondition not satisfied:"); \
+ BT_LOGF_STR("Library precondition not satisfied; error is:"); \
BT_LIB_LOGF((_fmt), ##__VA_ARGS__); \
BT_LOGF_STR("Aborting..."); \
abort(); \
BT_LIB_LOGF((_fmt), ##__VA_ARGS__); \
BT_LOGF_STR("Aborting..."); \
abort(); \