diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2018-09-25 17:40:06 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-07 17:47:38 +0300 |
commit | ab2d738239b0eb009a5cab792275b4c36504f595 (patch) | |
tree | 441e820b48b79fc7a49789bef1744ad51fb6e148 /cmd/avb.c | |
parent | 747558d014577526bf2e8d9fe9ca748fdbf75d8a (diff) | |
download | u-boot-ab2d738239b0eb009a5cab792275b4c36504f595.tar.xz |
cmd: avb read_rb: print rb_idx in hexadecimal
Prior to this patch was do_avb_write_rb() reading supplied rb_idx as a
hexadecimal number while do_avb_read_rb() printed the read out rb_idx as
decimal number. For consistency change do_avb_read_rb() to print rb_idx
as a hexadecimal number too.
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'cmd/avb.c')
-rw-r--r-- | cmd/avb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ int do_avb_read_rb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) if (avb_ops->read_rollback_index(avb_ops, index, &rb_idx) == AVB_IO_RESULT_OK) { - printf("Rollback index: %llu\n", rb_idx); + printf("Rollback index: %llx\n", rb_idx); return CMD_RET_SUCCESS; } return CMD_RET_FAILURE; |