summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/evemu-record.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/evemu-record.c b/tools/evemu-record.c
index afdd400..4670ca0 100644
--- a/tools/evemu-record.c
+++ b/tools/evemu-record.c
@@ -60,6 +60,10 @@ int main(int argc, char *argv[])
60 fprintf(stderr, "error: could not open device\n"); 60 fprintf(stderr, "error: could not open device\n");
61 return -1; 61 return -1;
62 } 62 }
63
64 /* Output the data as it becomes available */
65 setbuf(stdout, NULL);
66
63 if (evemu_record(stdout, fd, WAIT_MS)) { 67 if (evemu_record(stdout, fd, WAIT_MS)) {
64 fprintf(stderr, "error: could not describe device\n"); 68 fprintf(stderr, "error: could not describe device\n");
65 } 69 }