summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/cmd_ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c
index f8e04ed..75afb32 100644
--- a/common/cmd_ext2.c
+++ b/common/cmd_ext2.c
@@ -161,7 +161,7 @@ int do_ext2load (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
char *filename = NULL;
char *ep;
- int dev, part = 0;
+ int dev, part = 1;
ulong addr = 0, part_length, filelen;
disk_partition_t info;
block_dev_desc_t *dev_desc = NULL;