summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-12 02:06:51 -0800
committerVinson Lee <vlee@vmware.com>2009-12-12 02:06:51 -0800
commit15c6558a2e6b613a6a058bb7f23b678a32e01846 (patch)
tree25e6c795807249342e8866184e53279038bf5c0b
parentd5be33477e4a5cb73a5ccc24c2ad6518adddeb40 (diff)
progs/xdemos: Silence compiler warnings in glxinfo.c.
-rw-r--r--progs/xdemos/glxinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index 23df82f6f9..30cd568064 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) {