summaryrefslogtreecommitdiff
path: root/cmd/usb_mass_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/usb_mass_storage.c')
-rw-r--r--cmd/usb_mass_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c
index 59bb4ee5ec..14eed980df 100644
--- a/cmd/usb_mass_storage.c
+++ b/cmd/usb_mass_storage.c
@@ -100,7 +100,7 @@ static int ums_init(const char *devtype, const char *devnums)
ums[ums_count].block_dev = *block_dev;
printf("UMS: LUN %d, dev %d, hwpart %d, sector %#x, count %#x\n",
- ums_count, ums[ums_count].block_dev.dev,
+ ums_count, ums[ums_count].block_dev.devnum,
ums[ums_count].block_dev.hwpart,
ums[ums_count].start_sector,
ums[ums_count].num_sectors);