Use a string format for safer printing.

The string was directly used as the string format, which would have caused
printf to expect additional arguments when it contains formatting elements.

Bug 18720257

Change-Id: Ie4391097e58d4cab2793a05eda2b03acd02d7f22
Reviewed-on: https://swiftshader-review.googlesource.com/2656
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
3 files changed
tree: f866b84b37c6cffc262e9a7cb0f4756676d7af59
  1. include/
  2. src/
  3. tests/
  4. .gitignore
  5. Readme.txt