git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032e7f6
)
sandbox: Correct handling of --rm_memory
author
Simon Glass
<sjg@chromium.org>
Thu, 19 Aug 2021 03:40:24 +0000
(21:40 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 16 Sep 2021 17:19:25 +0000
(13:19 -0400)
This option has no argument so we should not trip to skip one.
Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/os.c
b/arch/sandbox/cpu/os.c
index
1103530
..
151f42a
100644
(file)
--- a/
arch/sandbox/cpu/os.c
+++ b/
arch/sandbox/cpu/os.c
@@
-690,7
+690,6
@@
static int add_args(char ***argvp, char *add_args[], int count)
continue;
}
} else if (!strcmp(arg, "--rm_memory")) {
- ap++;
continue;
}
argv[argc++] = arg;