drivers/mtd/filemtd.c: fix build error
This commit is contained in:
parent
517974787f
commit
d666aa623f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user