From: Oleksii Bidnichenko Date: Fri, 8 Apr 2022 08:07:13 +0000 (+0200) Subject: disk: part: add the device search failed log msg X-Git-Tag: v2025.01-rc5-pxa1908~1458^2~43 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=192e7012c201b0d43b252b3f10acc8894a467dc6;p=u-boot.git disk: part: add the device search failed log msg Add missing error message to blk_get_device_part_str. Signed-off-by: Oleksii Bidnichenko Signed-off-by: Marcel Ziswiler --- diff --git a/disk/part.c b/disk/part.c index b95405bb49..79955c7fb0 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; }