mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
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>
This commit is contained in:
parent
954ab3c7b7
commit
45e4968e74
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue