summaryrefslogtreecommitdiff
path: root/lib/dhry/cmd_dhry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dhry/cmd_dhry.c')
-rw-r--r--lib/dhry/cmd_dhry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dhry/cmd_dhry.c b/lib/dhry/cmd_dhry.c
index d55ab54df9..77b52a2300 100644
--- a/lib/dhry/cmd_dhry.c
+++ b/lib/dhry/cmd_dhry.c
@@ -16,7 +16,7 @@ static int do_dhry(struct cmd_tbl *cmdtp, int flag, int argc,
int iterations = 1000000;
if (argc > 1)
- iterations = simple_strtoul(argv[1], NULL, 10);
+ iterations = dectoul(argv[1], NULL);
start = get_timer(0);
dhry(iterations);