projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prepare v2023.10
[platform/kernel/u-boot.git]
/
cmd
/
ubi.c
diff --git
a/cmd/ubi.c
b/cmd/ubi.c
index
b61ae1e
..
0a6a80b
100644
(file)
--- 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