diff options
Diffstat (limited to 'tests/perf/decperf.cxx')
-rw-r--r-- | tests/perf/decperf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/decperf.cxx b/tests/perf/decperf.cxx index fb2390be..cc8b39d0 100644 --- a/tests/perf/decperf.cxx +++ b/tests/perf/decperf.cxx @@ -203,7 +203,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); } @@ -212,7 +212,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); } |