diff options
Diffstat (limited to 'line-log.c')
-rw-r--r-- | line-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/line-log.c b/line-log.c index c3b8563190..e62a7f4ac4 100644 --- a/line-log.c +++ b/line-log.c @@ -854,10 +854,10 @@ static void print_line(const char *prefix, char first, fputs(prefix, file); fputs(color, file); - fputc(first, file); + putc(first, file); fwrite(begin, 1, end-begin, file); fputs(reset, file); - fputc('\n', file); + putc('\n', file); if (!had_nl) fputs("\\ No newline at end of file\n", file); } |