diff options
Diffstat (limited to 'cmd/read.c')
-rw-r--r-- | cmd/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/read.c b/cmd/read.c index 12ac165986..f8d766a713 100644 --- a/cmd/read.c +++ b/cmd/read.c @@ -50,7 +50,7 @@ int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) cnt = simple_strtoul(argv[5], NULL, 16); if (part != 0) { - if (get_partition_info(dev_desc, part, &part_info)) { + if (part_get_info(dev_desc, part, &part_info)) { printf("Cannot find partition %d\n", part); return 1; } |