summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c5cbcf4)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
bcd += 10 * (resp[4] >> 4);
memcpy(&aux_version, &resp[12], sizeof(aux_version));
info->bmc_current[2] = talloc_asprintf(info,
bcd += 10 * (resp[4] >> 4);
memcpy(&aux_version, &resp[12], sizeof(aux_version));
info->bmc_current[2] = talloc_asprintf(info,
- "Firmware version: %u.%02u.%u",
+ "Firmware version: %u.%02u.%05u",
resp[3], bcd, aux_version);
bcd = resp[5] & 0x0f;
bcd += 10 * (resp[5] >> 4);
resp[3], bcd, aux_version);
bcd = resp[5] & 0x0f;
bcd += 10 * (resp[5] >> 4);