]> Git Repo - u-boot.git/blobdiff - cmd/demo.c
global: Convert simple_strtoul() with decimal to dectoul()
[u-boot.git] / cmd / demo.c
index a2957f770d03dee756a6bbdb54acaf68eb73abb5..571f562ec68b60cefdff3ae644d1883766c50a7a 100644 (file)
@@ -106,7 +106,7 @@ static int do_demo(struct cmd_tbl *cmdtp, int flag, int argc,
                return CMD_RET_USAGE;
 
        if (argc) {
-               devnum = simple_strtoul(argv[0], NULL, 10);
+               devnum = dectoul(argv[0], NULL);
                ret = uclass_get_device(UCLASS_DEMO, devnum, &demo_dev);
                if (ret)
                        return cmd_process_error(cmdtp, ret);
This page took 0.023509 seconds and 4 git commands to generate.