summaryrefslogtreecommitdiffstats
path: root/commands/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mount.c')
-rw-r--r--commands/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mount.c b/commands/mount.c
index eefcdfa86a..54260e230f 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -40,7 +40,7 @@ static int do_mount (cmd_tbl_t *cmdtp, int argc, char *argv[])
entry = mtab_next_entry(entry);
if (entry) {
printf("%s on %s type %s\n",
- entry->parent_device ? entry->parent_device->id : "none",
+ entry->parent_device ? entry->parent_device->name : "none",
entry->path,
entry->dev->name);
}