summaryrefslogtreecommitdiff
path: root/src/io
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-27 18:39:06 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-27 18:39:06 -0700
commit8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6 (patch)
tree21b1cd54e71b29f08be7bb0224dc426b4481efa1 /src/io
parent63c2e854ed2c9778ea9225d86578b4e9b65900ee (diff)
downloadtmwa-8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6.tar.gz
tmwa-8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6.tar.bz2
tmwa-8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6.tar.xz
tmwa-8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6.zip
Shut up already
Diffstat (limited to 'src/io')
-rw-r--r--src/io/read.cpp6
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;
}