summaryrefslogtreecommitdiff
path: root/cmd/avb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/avb.c')
-rw-r--r--cmd/avb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/avb.c b/cmd/avb.c
index 02b4b1f022c..783f51b8169 100644
--- a/cmd/avb.c
+++ b/cmd/avb.c
@@ -366,7 +366,7 @@ int do_avb_read_pvalue(struct cmd_tbl *cmdtp, int flag, int argc,
return CMD_RET_USAGE;
name = argv[1];
- bytes = simple_strtoul(argv[2], &endp, 10);
+ bytes = dectoul(argv[2], &endp);
if (*endp && *endp != '\n')
return CMD_RET_USAGE;