summaryrefslogtreecommitdiff
path: root/cmd/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/disk.c')
-rw-r--r--cmd/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/disk.c b/cmd/disk.c
index 0883c79506..27ed115d2f 100644
--- a/cmd/disk.c
+++ b/cmd/disk.c
@@ -45,7 +45,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
return 1;
}
- dev = dev_desc->dev;
+ dev = dev_desc->devnum;
bootstage_mark(BOOTSTAGE_ID_IDE_TYPE);
printf("\nLoading from %s device %d, partition %d: "