diff rvinterf/rvtdump.c @ 127:f4f0c8738dcb

rvtdump: satisfactory handling of output from Pirelli's fw
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 31 Oct 2013 23:08:59 +0000
parents 811b138f1bed
children 56b53c289785
line wrap: on
line diff
--- a/rvinterf/rvtdump.c	Thu Oct 31 19:59:16 2013 +0000
+++ b/rvinterf/rvtdump.c	Thu Oct 31 23:08:59 2013 +0000
@@ -41,6 +41,7 @@
 	}
 
 	set_serial_nonblock(0);
+	setlinebuf(stdout);
 	for (;;) {
 		FD_ZERO(&fds);
 		FD_SET(target_fd, &fds);