aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-15 10:44:32 -0400
committerTom Rini <trini@konsulko.com>2023-08-15 10:44:32 -0400
commitf0efecd27dfb7fda224ccbf661ce4c55744edccc (patch)
treeec40cf725ee8d2365ce4704769e155a227d795d4
parentae9de10d5fbfad99384994d51f8748e23a5477d8 (diff)
parent34031e9cce91de323ed711d7e8614c0d12fada1c (diff)
downloadu-boot-f0efecd27dfb7fda224ccbf661ce4c55744edccc.zip
u-boot-f0efecd27dfb7fda224ccbf661ce4c55744edccc.tar.gz
u-boot-f0efecd27dfb7fda224ccbf661ce4c55744edccc.tar.bz2
Merge tag 'ubi-updates-for-v2023.10-rc3' of https://source.denx.de/u-boot/custodians/u-boot-ubi
ubi changes for v2023.10-rc3 Fix: - Fix 'ubi list' command arguments parsing from Dmitry
-rw-r--r--cmd/ubi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ubi.c b/cmd/ubi.c
index b61ae1e..0a6a80b 100644
--- a/cmd/ubi.c
+++ b/cmd/ubi.c
@@ -653,7 +653,7 @@ static int do_ubi(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
if (strcmp(argv[1], "list") == 0) {
int numeric = 0;
- if (argc >= 2 && argv[2][0] == '-') {
+ if (argc >= 3 && argv[2][0] == '-') {
if (strcmp(argv[2], "-numeric") == 0)
numeric = 1;
else