aboutsummaryrefslogtreecommitdiffstats
path: root/tests/perf/encperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perf/encperf.cxx')
-rw-r--r--tests/perf/encperf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx
index c6e2d3b7..610fc4ec 100644
--- a/tests/perf/encperf.cxx
+++ b/tests/perf/encperf.cxx
@@ -373,7 +373,7 @@ static struct stats runTest(const char *fn)
try {
cc = new CConn(fn);
} catch (rdr::Exception& e) {
- fprintf(stderr, "Failed to open rfb file: %s\n", e.str());
+ fprintf(stderr, "Failed to open rfb file: %s\n", e.what());
exit(1);
}
@@ -382,7 +382,7 @@ static struct stats runTest(const char *fn)
cc->processMsg();
} catch (rdr::EndOfStream& e) {
} catch (rdr::Exception& e) {
- fprintf(stderr, "Failed to run rfb file: %s\n", e.str());
+ fprintf(stderr, "Failed to run rfb file: %s\n", e.what());
exit(1);
}