From 57c7abbd3c3b30086a5503a8017748caaf47084c Mon Sep 17 00:00:00 2001 From: Lieuwe Rooijakkers Date: Sat, 13 Jul 2024 22:17:22 +0200 Subject: tak: use fwrite --- src/tak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tak.c b/src/tak.c index dc3eda5..caf1837 100644 --- a/src/tak.c +++ b/src/tak.c @@ -36,7 +36,7 @@ int entry_tak(int argc, char **argv) { lstart++; } - printf("%.*s\n", lend - lstart + 1, lstart); + fwrite(lstart, 1, lend - lstart + 2, stdout); lend = lstart-1; } -- cgit v1.2.3-70-g09d2