riscv: fix build errors.

This commit is contained in:
Kai Wang 2019-11-19 16:33:45 +08:00
parent f72ba552d5
commit 9ee2cc061c
1 changed files with 2 additions and 2 deletions

View File

@ -1420,11 +1420,11 @@ static int riscv_address_translate(struct target *target,
break; break;
case SATP_MODE_OFF: case SATP_MODE_OFF:
LOG_ERROR("No translation or protection." \ LOG_ERROR("No translation or protection." \
" (satp: 0x%" TARGET_PRIxADDR")", satp_value); " (satp: 0x%" PRIx64")", satp_value);
return ERROR_FAIL; return ERROR_FAIL;
default: default:
LOG_ERROR("The translation mode is not supported." \ LOG_ERROR("The translation mode is not supported." \
" (satp: 0x%" TARGET_PRIxADDR")", satp_value); " (satp: 0x%" PRIx64")", satp_value);
return ERROR_FAIL; return ERROR_FAIL;
} }