drivers/mtd/filemtd.c: fix build error

This commit is contained in:
Juha Niskanen 2020-05-11 14:23:22 +03:00 committed by hartmannathan
parent 517974787f
commit d666aa623f

View file

@ -506,9 +506,9 @@ FAR struct mtd_dev_s *blockmtd_initialize(FAR const char *path,
return NULL;
}
/* Determine the file open mode */
/* Set the file open mode. */
mode = O_RDOK |= O_WROK;
mode = O_RDOK | O_WROK;
/* Try to open the file. NOTE that block devices will use a character
* driver proxy.