mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
dm: part: fix missing driver name in debug print
Fixes the following warning with PART_DEBUG enabled: disk/part.c: In function ‘get_partition_info’: disk/part.c:372:3: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat] Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
parent
c3ab985362
commit
2ae67aec5e
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue