* StarlingX devstack has switched Ubuntu Bionic. Default compiler is
gcc 7.3.0. gcc 7.3.0 will report compiling error message
"error: format not a string literal and no format arguments
[-Werror=format-security]" for the calling of snprintf in
pingUtil_send of pingUtil.cpp
* gcc 4.8.5 doesn't report such warning. That's why current StarlingX
building doesn't have such issue.
Passed tests:
* Fresh building
* Deployment test
* Unit tests, verified the change doesn't impact the code behavior.
* System-level verification, mtcAgent and hwmond can start normally.
Story: 2003161
Task: 29793
Change-Id: I21e84ac4b2c9deb8926c752fe79ea284a0d92b30
Signed-off-by: Yi Wang <yi.c.wang@intel.com>