[PATCH 07/34] scriptreplay: use unlocked io

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 term-utils/scriptreplay.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/term-utils/scriptreplay.c b/term-utils/scriptreplay.c
index 46468be..a366c35 100644
--- a/term-utils/scriptreplay.c
+++ b/term-utils/scriptreplay.c
@@ -31,6 +31,7 @@
 #include "closestream.h"
 #include "nls.h"
 #include "c.h"
+#include "unlocked-io.h"
 
 #define SCRIPT_MIN_DELAY 0.0001		/* from original sripreplay.pl */
 
@@ -229,6 +230,6 @@ main(int argc, char *argv[])
 
 	fclose(sfile);
 	fclose(tfile);
-	printf("\n");
+	fputs("\n", stdout);
 	exit(EXIT_SUCCESS);
 }
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux