projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] ppp: use service_kill()
[openwrt.git]
/
package
/
mtd
/
src
/
fis.c
diff --git
a/package/mtd/src/fis.c
b/package/mtd/src/fis.c
index
b285d24
..
559ca95
100644
(file)
--- a/
package/mtd/src/fis.c
+++ b/
package/mtd/src/fis.c
@@
-77,7
+77,7
@@
fis_open(void)
goto error;
fis_erasesize = erasesize;
goto error;
fis_erasesize = erasesize;
- desc = mmap(NULL, erasesize, PROT_READ|PROT_WRITE, MAP_SHARED, fis_fd, 0);
+ desc = mmap(NULL, erasesize, PROT_READ|PROT_WRITE, MAP_SHARED
|MAP_LOCKED
, fis_fd, 0);
if (desc == MAP_FAILED)
goto error;
if (desc == MAP_FAILED)
goto error;
This page took
0.020263 seconds
and
4
git commands to generate.