summaryrefslogtreecommitdiffstats
path: root/common/cmd_ext_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_ext_common.c')
-rw-r--r--common/cmd_ext_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ext_common.c b/common/cmd_ext_common.c
index 7d26944ead..1952f4d1e1 100644
--- a/common/cmd_ext_common.c
+++ b/common/cmd_ext_common.c
@@ -108,7 +108,7 @@ int do_ext_load(cmd_tbl_t *cmdtp, int flag, int argc,
return 1;
}
- part = get_device_and_partition(argv[1], argv[2], &dev_desc, &info);
+ part = get_device_and_partition(argv[1], argv[2], &dev_desc, &info, 1);
if (part < 0)
return 1;
@@ -166,7 +166,7 @@ int do_ext_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
if (argc < 2)
return cmd_usage(cmdtp);
- part = get_device_and_partition(argv[1], argv[2], &dev_desc, &info);
+ part = get_device_and_partition(argv[1], argv[2], &dev_desc, &info, 1);
if (part < 0)
return 1;
OpenPOWER on IntegriCloud