mirror of https://github.com/thesofproject/sof.git
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:
parent
0f64a20183
commit
32052add99
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue