summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/relay.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-03 11:56:32 -0400
committerDave Brolley <brolley@redhat.com>2009-04-03 11:56:32 -0400
commit8d3854b9f124aa818552d462bd8cbd2577be298e (patch)
treecef962dbca12c088c6acc3edf621d4502b0012e1 /runtime/staprun/relay.c
parent2f53f831393d2f0db3d54260c2a7882eff17905c (diff)
parent08dc41a50c508544bc18d384a65a137056a98195 (diff)
downloadsystemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.tar.gz
systemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.tar.xz
systemtap-steved-8d3854b9f124aa818552d462bd8cbd2577be298e.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Conflicts: configure runtime/staprun/staprun_funcs.c
Diffstat (limited to 'runtime/staprun/relay.c')
-rw-r--r--runtime/staprun/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/relay.c b/runtime/staprun/relay.c
index 50f295b5..694cb27e 100644
--- a/runtime/staprun/relay.c
+++ b/runtime/staprun/relay.c
@@ -200,7 +200,7 @@ static void *reader_thread(void *data)
perr("Couldn't open file for cpu %d, exiting.", cpu);
return(NULL);
}
- wsize = 0;
+ wsize = rc;
}
if (write(out_fd[cpu], buf, rc) != rc) {
perr("Couldn't write to output %d for cpu %d, exiting.", out_fd[cpu], cpu);