333 |
|
mol = info_->getMoleculeByGlobalIndex(i); |
334 |
|
|
335 |
|
if (mol == NULL) { |
336 |
< |
strcpy(painCave.errMsg, "Molecule not found on node %d!", worldRank); |
336 |
> |
sprintf(painCave.errMsg, "Molecule not found on node %d!", worldRank); |
337 |
|
painCave.isFatal = 1; |
338 |
|
simError(); |
339 |
|
} |
400 |
|
|
401 |
|
mol = info_->getMoleculeByGlobalIndex(i); |
402 |
|
if (mol == NULL) { |
403 |
< |
strcpy(painCave.errMsg, "Molecule not found on node %d!", worldRank); |
403 |
> |
sprintf(painCave.errMsg, "Molecule not found on node %d!", worldRank); |
404 |
|
painCave.isFatal = 1; |
405 |
|
simError(); |
406 |
|
} |