aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDRC <information@virtualgl.org>2015-02-25 14:08:34 -0600
committerDRC <information@virtualgl.org>2015-02-25 14:08:34 -0600
commite46dda69923af5818aca2587d6114b04d8414f84 (patch)
tree16af094898b21dd5a494d6a46fa18b8203fa3a8a /tests
parent562eb717412343118ddf2b2147b95751c89ee442 (diff)
downloadtigervnc-e46dda69923af5818aca2587d6114b04d8414f84.tar.gz
tigervnc-e46dda69923af5818aca2587d6114b04d8414f84.zip
encperf: change % to %% in printf format
GCC lets this slide, but other compilers (clang) complain about using % rather than %% to print a literal % character.
Diffstat (limited to 'tests')
-rw-r--r--tests/encperf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 20644960..31d7c736 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -442,7 +442,7 @@ int main(int argc, char **argv)
sort(dev, runCount);
meddev = dev[runCount / 2];
- printf("CPU time: %g s (+/- %g %)\n", median, meddev);
+ printf("CPU time: %g s (+/- %g %%)\n", median, meddev);
printf("Encoded bytes: %lld\n", bytes);
printf("Raw equivalent bytes: %lld\n", equivalent);
printf("Ratio: %g\n", ratio);