From 213124ec57f388ad51a6fa114030d6302ee238a2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 2 Feb 2015 03:53:49 +0100 Subject: Output "normal" messages to stdout This makes it easier to filter for the errors --- src/MinedMap.cpp | 4 ++-- 1 file 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"; -- cgit v1.2.3