aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 9942f9e..7d0afa2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,7 +50,7 @@ void run(FILE *fp, char *filename, bool tty) {
free(f.lines[i].buf);
}
} else {
- printf("%s", f.buf);
+ fwrite(f.buf, 1, f.buflen, stdout);
}
free(f.buf);