minor; media app is intended to take either a command line argument, or a compiled-in default value from config. However, the default is ignored, leading to confusing error messages.
This commit is contained in:
parent
e64e160250
commit
20446c9e03
@ -155,7 +155,7 @@ int media_main(int argc, FAR char *argv[])
|
||||
devpath = argv[1];
|
||||
}
|
||||
|
||||
fd = open(argv[1], O_RDWR);
|
||||
fd = open(devpath, O_RDWR);
|
||||
|
||||
if (fd < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user