commit | 599376355e30c47b040248c9201a537de7e8ce4b | [log] [tgz] |
---|---|---|
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | Tue Dec 05 00:06:07 2017 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Dec 09 04:56:02 2017 +0000 |
tree | fa5e64345a5be046efc004ab30bf0f7bee807af1 | |
parent | e44acded8fa346f4e807de395e7f148ba095e25a [diff] |
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>