summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-12-02 16:26:09 +0200
committerSergey Petrunya <psergey@askmonty.org>2009-12-02 16:26:09 +0200
commit33402060c0523f2f8c92a87684ef25bb4bb8e665 (patch)
tree826abbd3abfb4ee260ef0b265d4475556fb97934 /sql/item.h
parente4e1ae0d13da399d53bd91df791b149f3eae796b (diff)
downloadmariadb-git-33402060c0523f2f8c92a87684ef25bb4bb8e665.tar.gz
Remove compiler warning: always use literal string for printf-format line.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 1 insertions, 1 deletions
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);
}