diff options
author | DRC <information@virtualgl.org> | 2015-02-25 14:08:34 -0600 |
---|---|---|
committer | DRC <information@virtualgl.org> | 2015-02-25 14:08:34 -0600 |
commit | e46dda69923af5818aca2587d6114b04d8414f84 (patch) | |
tree | 16af094898b21dd5a494d6a46fa18b8203fa3a8a /tests | |
parent | 562eb717412343118ddf2b2147b95751c89ee442 (diff) | |
download | tigervnc-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.cxx | 2 |
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); |