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:
parent
3d2d88029b
commit
f3cb512dc4
2
os/log.c
2
os/log.c
|
@ -371,7 +371,7 @@ LogVMessageVerb(MessageType type, int verb, const char *format, va_list args)
|
||||||
{
|
{
|
||||||
const char *type_str;
|
const char *type_str;
|
||||||
char tmpFormat[1024];
|
char tmpFormat[1024];
|
||||||
char *new_format;
|
const char *new_format;
|
||||||
|
|
||||||
type_str = LogMessageTypeVerbString(type, verb);
|
type_str = LogMessageTypeVerbString(type, verb);
|
||||||
if (!type_str)
|
if (!type_str)
|
||||||
|
|
Loading…
Reference in New Issue