remove x from getopt

x param was removed from switch case but not from getopt. So if you use
x rimage silently fails on the switch case.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2021-12-08 09:39:38 -08:00 committed by Liam Girdwood
parent 0f64a20183
commit 32052add99
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ int main(int argc, char *argv[])
memset(&image, 0, sizeof(image));
while ((opt = getopt(argc, argv, "ho:va:s:k:ri:x:f:b:ec:y:q:")) != -1) {
while ((opt = getopt(argc, argv, "ho:va:s:k:ri:f:b:ec:y:q:")) != -1) {
switch (opt) {
case 'o':
image.out_file = optarg;