@@ -43,7 +43,7 @@ using namespace std::placeholders;
4343 timer.inc(entries.size());
4444
4545#define CALL_BULK_REMOVE_API_WITH_TIMER (entry ) \
46- SWSS_LOG_INFO (" executing BULK remove " , entry, " , count = %zu " , entries.size()); \
46+ SWSS_LOG_INFO (" executing BULK remove " # entry " , count = %zu " , entries.size()); \
4747 static PerformanceIntervalTimer timer (" SaiPlayer::handle_bulk_entry::bulkRemove(" #entry" )" ); \
4848 timer.start(); \
4949 status = m_sai->bulkRemove (object_count, entries.data(), \
@@ -52,7 +52,7 @@ using namespace std::placeholders;
5252 timer.inc(entries.size());
5353
5454#define CALL_BULK_SET_API_WITH_TIMER (entry ) \
55- SWSS_LOG_INFO (" executing BULK set " , entry, " , count = %zu " , entries.size()); \
55+ SWSS_LOG_INFO (" executing BULK set " # entry " , count = %zu " , entries.size()); \
5656 static PerformanceIntervalTimer timer (" SaiPlayer::handle_bulk_entry::bulkSet(" #entry" )" ); \
5757 timer.start(); \
5858 status = m_sai->bulkSet (object_count, entries.data(), \
@@ -1824,7 +1824,7 @@ void SaiPlayer::processBulk(
18241824
18251825 if (status != SAI_STATUS_SUCCESS )
18261826 {
1827- SWSS_LOG_ERROR (" handle bulk executed with failure, status = %s" , sai_serialize_status (status));
1827+ SWSS_LOG_ERROR (" handle bulk executed with failure, status = %s" , sai_serialize_status (status). c_str () );
18281828 }
18291829
18301830 // even if API will fail, we will need to compare all statuses for each entry
0 commit comments