Fix format security in eCMD
Fix format security in eCMD

eCMD appears to have one snprintf violation that prevents it from
compiling with -fformat-security enabled.  This patch corrects this
error, and allows compiling with the aforementioned flag.

This was found as part of attempting to enable the -fformat-security
flag on OpenBMC.

https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/39481

Signed-off-by: Ed Tanous <a162caffcb6897220f4d1cf28164d73cb91993a8@tanous.net>

open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD