diff options
Diffstat (limited to 'cmd/unlz4.c')
-rw-r--r-- | cmd/unlz4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/unlz4.c b/cmd/unlz4.c index 4ae7f34..323ab46 100644 --- a/cmd/unlz4.c +++ b/cmd/unlz4.c @@ -18,9 +18,9 @@ static int do_unlz4(struct cmd_tbl *cmdtp, int flag, int argc, switch (argc) { case 4: - src = simple_strtoul(argv[1], NULL, 16); - dst = simple_strtoul(argv[2], NULL, 16); - dst_len = simple_strtoul(argv[3], NULL, 16); + src = hextoul(argv[1], NULL); + dst = hextoul(argv[2], NULL); + dst_len = hextoul(argv[3], NULL); break; default: return CMD_RET_USAGE; |