diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-11-19 09:27:58 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-11-19 09:27:58 +0200 |
commit | 95ad2382d2e1705f0a7881457aa8019916e7194f (patch) | |
tree | eaa2183f8ecada4c61ebefffd3c3c9d61d07081f /src/bp_sim.cpp | |
parent | a2625fbfa24a812b950c1a95ef067e6fa169a3cf (diff) |
minor typo fix
Diffstat (limited to 'src/bp_sim.cpp')
-rwxr-xr-x | src/bp_sim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bp_sim.cpp b/src/bp_sim.cpp index 22335da4..d35ae68a 100755 --- a/src/bp_sim.cpp +++ b/src/bp_sim.cpp @@ -219,7 +219,7 @@ bool CPlatformSocketInfoConfig::init(){ m_max_threads_per_dual_if = num_threads; }else{ if (lp->m_threads.size() != num_threads) { - printf("ERROR number of threads per dual ports should be the same for all dual ports\n"); + printf("ERROR, the number of threads per dual ports should be the same for all dual ports\n"); exit(1); } } @@ -231,7 +231,7 @@ bool CPlatformSocketInfoConfig::init(){ uint8_t phy_thread = lp->m_threads[j]; if (phy_thread>MAX_THREADS_SUPPORTED) { - printf("ERROR physical thread id is %d higher than max %d \n",phy_thread,MAX_THREADS_SUPPORTED); + printf("ERROR, physical thread id is %d higher than max %d \n",phy_thread,MAX_THREADS_SUPPORTED); exit(1); } @@ -479,8 +479,8 @@ void CPlatformSocketInfo::dump(FILE *fd){ void CRteMemPool::dump_in_case_of_error(FILE *fd){ - fprintf(fd," ERROR ERROR there is no enough memory in socket %d \n",m_pool_id); - fprintf(fd," Try to enlarge the memory values in the configuration file /etc/trex_cfg.yaml \n"); + fprintf(fd," ERROR,there is no enough memory in socket %d \n",m_pool_id); + fprintf(fd," Try to enlarge the memory values in the configuration file -/etc/trex_cfg.yaml ,see manual for more detail \n"); dump(fd); } |