summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorAlexandre Besnard <alexandre.besnard@softathome.com>2019-12-20 17:25:22 +0300
committerTom Rini <trini@konsulko.com>2020-01-16 17:39:45 +0300
commit45e4968e741440594d24137b3978c5fff52a025e (patch)
treeb0c6f0b72c4004a47cc15f667b834c295dfbd1a1 /cmd
parent954ab3c7b78ffb5ad469fed9306298631e4f54f7 (diff)
downloadu-boot-45e4968e741440594d24137b3978c5fff52a025e.tar.xz
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 <alexandre.besnard@softathome.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/blk_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/blk_common.c b/cmd/blk_common.c
index c5514cf8f8..cc6e161ba0 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;