diff options
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/read.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/read.cpp b/src/io/read.cpp index d3e2a19..d057ca6 100644 --- a/src/io/read.cpp +++ b/src/io/read.cpp @@ -107,12 +107,12 @@ namespace io if (unhappy) { if (happy) - PRINTF("warning: file contains CR\n"_fmt); + FPRINTF(stderr, "warning: file contains CR\n"_fmt); else - PRINTF("warning: file contains bare CR\n"_fmt); + FPRINTF(stderr, "warning: file contains bare CR\n"_fmt); } else if (!happy && anything) - PRINTF("warning: file does not contain a trailing newline\n"_fmt); + FPRINTF(stderr, "warning: file does not contain a trailing newline\n"_fmt); line = AString(tmp); return anything; } |