diff options
Diffstat (limited to 'qpdf/qpdf.cc')
-rw-r--r-- | qpdf/qpdf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc index 1cfbb04f..b7ac6fc0 100644 --- a/qpdf/qpdf.cc +++ b/qpdf/qpdf.cc @@ -3513,14 +3513,14 @@ static void do_check(QPDF& pdf, Options& o, int& exit_code) catch (QPDFExc& e) { okay = false; - std::cout << "page " << pageno << ": " + std::cerr << "ERROR: page " << pageno << ": " << e.what() << std::endl; } } } catch (std::exception& e) { - std::cout << e.what() << std::endl; + std::cerr << "ERROR: " << e.what() << std::endl; okay = false; } if (okay) |