projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsx: fix msync parameters
[xfstests-dev.git]
/
ltp
/
fsx.c
diff --git
a/ltp/fsx.c
b/ltp/fsx.c
index b36c201ed1793d9abe64b466b00cb4300cc2d99a..2f1e3e834250f357f65a138734bce3a96ef848f3 100644
(file)
--- a/
ltp/fsx.c
+++ b/
ltp/fsx.c
@@
-779,7
+779,7
@@
domapwrite(unsigned offset, unsigned size)
report_failure(202);
}
memcpy(p + pg_offset, good_buf + offset, size);
- if (msync(p, map_size,
0
) != 0) {
+ if (msync(p, map_size,
MS_SYNC
) != 0) {
prterr("domapwrite: msync");
report_failure(203);
}