aboutsummaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 0aff9548c20..543cab81032 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -365,7 +365,8 @@ int part_get_info(struct blk_desc *dev_desc, int part,
return -EPROTONOSUPPORT;
}
if (!drv->get_info) {
- PRINTF("## Driver %s does not have the get_info() method\n");
+ PRINTF("## Driver %s does not have the get_info() method\n",
+ drv->name);
return -ENOSYS;
}
if (drv->get_info(dev_desc, part, info) == 0) {