diff options
author | Vinson Lee <[email protected]> | 2009-12-12 02:06:51 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-12 02:06:51 -0800 |
commit | 15c6558a2e6b613a6a058bb7f23b678a32e01846 (patch) | |
tree | 25e6c795807249342e8866184e53279038bf5c0b /progs/xdemos | |
parent | d5be33477e4a5cb73a5ccc24c2ad6518adddeb40 (diff) |
progs/xdemos: Silence compiler warnings in glxinfo.c.
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/glxinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 23df82f6f90..30cd5680642 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -116,7 +116,7 @@ print_extension_list(const char *ext) return; width = indent; - printf(indentString); + printf("%s", indentString); i = j = 0; while (1) { if (ext[j] == ' ' || ext[j] == 0) { @@ -126,7 +126,7 @@ print_extension_list(const char *ext) /* start a new line */ printf("\n"); width = indent; - printf(indentString); + printf("%s", indentString); } /* print the extension name between ext[i] and ext[j] */ while (i < j) { |