diff options
author | Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com> | 2022-04-08 10:07:13 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 19:10:44 +0200 |
commit | 192e7012c201b0d43b252b3f10acc8894a467dc6 (patch) | |
tree | 44d95af145efa366e1583ff7597145a355e04840 /disk | |
parent | aa6f57d87767089a8685ada55ca99e67c90a86d9 (diff) | |
download | u-boot-192e7012c201b0d43b252b3f10acc8894a467dc6.zip u-boot-192e7012c201b0d43b252b3f10acc8894a467dc6.tar.gz u-boot-192e7012c201b0d43b252b3f10acc8894a467dc6.tar.bz2 |
disk: part: add the device search failed log msg
Add missing error message to blk_get_device_part_str.
Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'disk')
-rw-r--r-- | disk/part.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c index b95405b..79955c7 100644 --- a/disk/part.c +++ b/disk/part.c @@ -527,6 +527,8 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str, /* Look up the device */ dev = blk_get_device_by_str(ifname, dev_str, dev_desc); if (dev < 0) { + printf("** Bad device specification %s %s **\n", + ifname, dev_str); ret = dev; goto cleanup; } |