projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compile fixes
[lttv.git]
/
ltt
/
branches
/
poly
/
lttd
/
lttd.c
diff --git
a/ltt/branches/poly/lttd/lttd.c
b/ltt/branches/poly/lttd/lttd.c
index 3a2fdd3f5bec004318a651d2941d3c91f490ac67..4f5f4bc421d19d27a24b273d028a7bf53b5641ea 100644
(file)
--- a/
ltt/branches/poly/lttd/lttd.c
+++ b/
ltt/branches/poly/lttd/lttd.c
@@
-311,7
+311,8
@@
int read_subbuffer(struct fd_pair *pair)
}
err = TEMP_FAILURE_RETRY(write(pair->trace,
- pair->mmap + (consumed_old & (~(pair->subbuf_size-1))),
+ pair->mmap
+ + (consumed_old & ((pair->n_subbufs * pair->subbuf_size)-1)),
pair->subbuf_size));
if(err < 0) {
This page took
0.022347 seconds
and
4
git commands to generate.