LogVMessageVerb: Fix const mismatch warning

"log.c", line 382: warning: assignment type mismatch:
	pointer to char "=" pointer to const char

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Alan Coopersmith 2011-10-29 11:19:44 -07:00
parent 3d2d88029b
commit f3cb512dc4

View File

@ -371,7 +371,7 @@ LogVMessageVerb(MessageType type, int verb, const char *format, va_list args)
{
const char *type_str;
char tmpFormat[1024];
char *new_format;
const char *new_format;
type_str = LogMessageTypeVerbString(type, verb);
if (!type_str)