summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 03:53:49 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 03:53:49 +0100
commit213124ec57f388ad51a6fa114030d6302ee238a2 (patch)
treedd9e432c64b1b1af97ff5737550640121c77a4d6 /src
parent75671b4b968987e753ebca072706ed79a8a098bf (diff)
downloadMinedMap-213124ec57f388ad51a6fa114030d6302ee238a2.tar
MinedMap-213124ec57f388ad51a6fa114030d6302ee238a2.zip
Output "normal" messages to stdout
This makes it easier to filter for the errors
Diffstat (limited to 'src')
-rw-r--r--src/MinedMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp
index d10666b..5c86a18 100644
--- a/src/MinedMap.cpp
+++ b/src/MinedMap.cpp
@@ -108,12 +108,12 @@ static void doRegion(const std::string &input, const std::string &output) {
if (stat(output.c_str(), &outstat) == 0) {
if (instat.st_mtim.tv_sec < outstat.st_mtim.tv_sec ||
(instat.st_mtim.tv_sec == outstat.st_mtim.tv_sec && instat.st_mtim.tv_nsec <= outstat.st_mtim.tv_nsec)) {
- std::fprintf(stderr, "%s is up-to-date.\n", output.c_str());
+ std::printf("%s is up-to-date.\n", output.c_str());
return;
}
}
- std::fprintf(stderr, "Generating %s from %s...\n", output.c_str(), input.c_str());
+ std::printf("Generating %s from %s...\n", output.c_str(), input.c_str());
const std::string tmpfile = output + ".tmp";