board_hw_rev_ver: fix hex printf

This commit is contained in:
Beat Küng
2022-11-24 10:00:40 +01:00
parent 8bde2a7a28
commit a502146d73
@@ -516,7 +516,7 @@ int board_set_eeprom_hw_info(const char *path, mtd_mft_t *mtd_mft_unk)
mtd_mft_v0_t *mtd_mft = (mtd_mft_v0_t *)mtd_mft_unk; mtd_mft_v0_t *mtd_mft = (mtd_mft_v0_t *)mtd_mft_unk;
if (mtd_mft->hw_extended_id < HW_EEPROM_ID_MIN) { if (mtd_mft->hw_extended_id < HW_EEPROM_ID_MIN) {
printf("hardware version for EEPROM must be greater than %x\n", HW_EEPROM_ID_MIN); printf("hardware version for EEPROM must be greater than %d\n", HW_EEPROM_ID_MIN);
return -EINVAL; return -EINVAL;
} }