Feat:fix the log info in dam_byte_pool_init
@@ -96,7 +96,7 @@ qapi_Status_t dam_byte_pool_init(void)
ret = txm_module_object_allocate(&byte_pool_test, sizeof(TX_BYTE_POOL));
if(ret != TX_SUCCESS)
{
- LOG_ERROR("DAM_APP:Allocate byte_pool_dam fail \n");
+ BoatLog(BOAT_LOG_CRITICAL,"DAM_APP:Allocate byte_pool_dam fail,ret=%d",ret);
break;
}
@@ -104,7 +104,7 @@ qapi_Status_t dam_byte_pool_init(void)
ret = tx_byte_pool_create(byte_pool_test, "Test application pool", free_memory_test, TEST_BYTE_POOL_SIZE);
if(ret != TX_SUCCESS)
{
- LOG_ERROR("DAM_APP:Create byte_pool_dam fail \n");
+ BoatLog(BOAT_LOG_CRITICAL,"DAM_APP:Create byte_pool_dam fail,ret=%d",ret);
break;
}
