@@ -43,7 +43,7 @@ using namespace std::placeholders;
43
43
timer.inc(entries.size());
44
44
45
45
#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()); \
47
47
static PerformanceIntervalTimer timer (" SaiPlayer::handle_bulk_entry::bulkRemove(" #entry" )" ); \
48
48
timer.start(); \
49
49
status = m_sai->bulkRemove (object_count, entries.data(), \
@@ -52,7 +52,7 @@ using namespace std::placeholders;
52
52
timer.inc(entries.size());
53
53
54
54
#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()); \
56
56
static PerformanceIntervalTimer timer (" SaiPlayer::handle_bulk_entry::bulkSet(" #entry" )" ); \
57
57
timer.start(); \
58
58
status = m_sai->bulkSet (object_count, entries.data(), \
@@ -1824,7 +1824,7 @@ void SaiPlayer::processBulk(
1824
1824
1825
1825
if (status != SAI_STATUS_SUCCESS)
1826
1826
{
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 () );
1828
1828
}
1829
1829
1830
1830
// even if API will fail, we will need to compare all statuses for each entry
0 commit comments