Fix format specifier issue with MACAddress

-Use "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx".Here hh is to
tell snprintf that the argument is an unsigned char, 0 is to get
zero padding and 2 to set the width to 2. x or X for
lower/uppercase hex characters.

Fixes openbmc/openbmc#2701

Change-Id: I92a62541157683f8c1e7048160b3d3de772e6125
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
1 file changed