Update declarations for all functions/methods that accept printf-style
stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185
This commit is contained in:
@@ -246,7 +246,7 @@ SBProcess::PutSTDIN (const char *src, size_t src_len)
|
||||
}
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBProcess(%p)::PutSTDIN (src=\"%s\", src_len=%d) => %d",
|
||||
log->Printf ("SBProcess(%p)::PutSTDIN (src=\"%s\", src_len=%d) => %lu",
|
||||
m_opaque_sp.get(),
|
||||
src,
|
||||
(uint32_t) src_len,
|
||||
|
||||
Reference in New Issue
Block a user