From 33402060c0523f2f8c92a87684ef25bb4bb8e665 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Wed, 2 Dec 2009 16:26:09 +0200 Subject: [PATCH] Remove compiler warning: always use literal string for printf-format line. --- sql/item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item.h b/sql/item.h index 82fb3f3a3e0..640b0cc5375 100644 --- a/sql/item.h +++ b/sql/item.h @@ -25,7 +25,7 @@ bool trace_unsupported_func(const char *where, const char *processor_name) sprintf(buff, "%s::%s", where, processor_name); DBUG_ENTER(buff); sprintf(buff, "%s returns TRUE: unsupported function", processor_name); - DBUG_PRINT("info", (buff)); + DBUG_PRINT("info", ("%s", buff)); DBUG_RETURN(TRUE); }