diff options
author | Tom Rini | 2023-08-15 10:44:32 -0400 |
---|---|---|
committer | Tom Rini | 2023-08-15 10:44:32 -0400 |
commit | f0efecd27dfb7fda224ccbf661ce4c55744edccc (patch) | |
tree | ec40cf725ee8d2365ce4704769e155a227d795d4 | |
parent | ae9de10d5fbfad99384994d51f8748e23a5477d8 (diff) | |
parent | 34031e9cce91de323ed711d7e8614c0d12fada1c (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ubi.c b/cmd/ubi.c index b61ae1efea4..0a6a80bdd10 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 |