Mesa (mesa_7_6_branch): progs/xdemos: Silence compiler warnings in glxinfo. c.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 10:07:54 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 15c6558a2e6b613a6a058bb7f23b678a32e01846
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15c6558a2e6b613a6a058bb7f23b678a32e01846

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 02:06:51 2009 -0800

progs/xdemos: Silence compiler warnings in glxinfo.c.

---

 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 23df82f..30cd568 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) {




More information about the mesa-commit mailing list