Mesa (master): progs/rbug: Silence printf format warning.

Vinson Lee vlee at kemper.freedesktop.org
Thu Feb 18 07:23:50 UTC 2010


Module: Mesa
Branch: master
Commit: 64d18b819b4a1d3ecaac7741d1906ecc7aa3f49e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64d18b819b4a1d3ecaac7741d1906ecc7aa3f49e

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Feb 17 23:22:51 2010 -0800

progs/rbug: Silence printf format warning.

---

 progs/rbug/shdr_info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/rbug/shdr_info.c b/progs/rbug/shdr_info.c
index b6864e9..ec8d776 100644
--- a/progs/rbug/shdr_info.c
+++ b/progs/rbug/shdr_info.c
@@ -51,7 +51,7 @@ static void shader_info(struct rbug_connection *con, rbug_context_t ctx)
       assert(header->opcode == RBUG_OP_SHADER_INFO_REPLY);
       info = (struct rbug_proto_shader_info_reply *)header;
 
-      debug_printf("% 15llu |% 15llu |% 15u |\n",
+      debug_printf("%15llu | %15llu | %15u |\n",
                    (unsigned long long)ctx,
                    (unsigned long long)list->shaders[i],
                    (unsigned)info->disabled);




More information about the mesa-commit mailing list