diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-29 11:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-23 12:15:06 -0800 |
commit | f3cb512dc4daaeed389bb4740e21b6e2330e01e1 (patch) | |
tree | dc3a9b0bf17bec9b1deb799f868f4fcbf56cd940 /os | |
parent | 3d2d88029b29d6e1c53220ad275ba8ba2dedd89e (diff) |
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>
Diffstat (limited to 'os')
-rw-r--r-- | os/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |