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:
ziggurat29 2016-07-17 15:10:26 -05:00
parent e64e160250
commit 20446c9e03

View File

@ -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)
{