From: Vinson Lee Date: Sat, 12 Dec 2009 10:06:51 +0000 (-0800) Subject: progs/xdemos: Silence compiler warnings in glxinfo.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15c6558a2e6b613a6a058bb7f23b678a32e01846;p=mesa.git progs/xdemos: Silence compiler warnings in glxinfo.c. --- 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) {