diff options
-rw-r--r-- | evtest.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -637,6 +637,9 @@ int main (int argc, char **argv) free(filename); + if (!isatty(fileno(stdout))) + setbuf(stdout, NULL); + if (print_device_info(fd)) return 1; @@ -653,6 +656,5 @@ int main (int argc, char **argv) printf("***********************************************\n"); } - return print_events(fd); } |