diff --git a/src/util/src/tlosertree.c b/src/util/src/tlosertree.c index 98d5e1cf35..4fe68970b9 100644 --- a/src/util/src/tlosertree.c +++ b/src/util/src/tlosertree.c @@ -45,7 +45,7 @@ uint8_t tLoserTreeCreate(SLoserTreeInfo** pTree, int32_t numOfEntries, void* par *pTree = (SLoserTreeInfo*)calloc(1, sizeof(SLoserTreeInfo) + sizeof(SLoserTreeNode) * totalEntries); if ((*pTree) == NULL) { - pError("allocate memory for losertree failed. out of memory"); + pError("allocate memory for loser-tree failed. reason:%s", strerror(errno)); return TSDB_CODE_CLI_OUT_OF_MEMORY; }