X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fcommon.h;h=bf3a83887b3fea8b9cea8a54d5b92a72af806151;hb=71436ae48cd2fcfcc59ae9a7da909e29a191145c;hp=1da6b3c263907fc0d288cf25fe88c7a4fa731c7b;hpb=78c888d139a40b58b10a2c92829cbb2c814ad766;p=babeltrace.git diff --git a/src/common/common.h b/src/common/common.h index 1da6b3c2..bf3a8388 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -413,8 +413,8 @@ ssize_t bt_common_read(int fd, void *buf, size_t count, /* retry operation */ continue; } else { -#ifdef BT_LOG_WRITE_ERRNO_CUR_LVL - BT_LOG_WRITE_ERRNO_CUR_LVL(BT_LOG_ERROR, +#ifdef BT_LOG_WRITE_ERRNO_PRINTF_CUR_LVL + BT_LOG_WRITE_ERRNO_PRINTF_CUR_LVL(BT_LOG_ERROR, log_level, BT_LOG_TAG, "Error while reading", ": fd=%d", fd); #endif