Remove compiler warning: always use literal string for printf-format line.

This commit is contained in:
Sergey Petrunya 2009-12-02 16:26:09 +02:00
parent e4e1ae0d13
commit 33402060c0

View File

@ -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);
}