commit | ba16a2767d8eafb5016327faece24382c43fc9d4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 18 21:40:24 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 16 13:19:25 2021 -0400 |
tree | 0c8b23d5006fe2d1c7a7b49c020854a9127f3d0d | |
parent | 8ad73c712e885db466b8ca97c70835cc651d6348 [diff] |
sandbox: Correct handling of --rm_memory This option has no argument so we should not trip to skip one. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index 1103530..151f42a 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c
@@ -690,7 +690,6 @@ continue; } } else if (!strcmp(arg, "--rm_memory")) { - ap++; continue; } argv[argc++] = arg;