From: Alexandre Besnard Date: Fri, 20 Dec 2019 14:25:22 +0000 (+0100) Subject: cmd/blk_common: clarify no partition error message X-Git-Tag: v2020.10~413^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45e4968e741440594d24137b3978c5fff52a025e;p=platform%2Fkernel%2Fu-boot.git cmd/blk_common: clarify no partition error message When no partition table is found, users should be warned so. Warning that no device is available in this case could be misleading, especially as it is the same error when no device is selected. Signed-off-by: Alexandre Besnard --- diff --git a/cmd/blk_common.c b/cmd/blk_common.c index c5514cf..cc6e161 100644 --- a/cmd/blk_common.c +++ b/cmd/blk_common.c @@ -32,7 +32,8 @@ int blk_common_cmd(int argc, char * const argv[], enum if_type if_type, return 0; } else if (strncmp(argv[1], "part", 4) == 0) { if (blk_list_part(if_type)) - printf("\nno %s devices available\n", if_name); + printf("\nno %s partition table available\n", + if_name); return 0; } return CMD_RET_USAGE;