Annotations and tweaks for live update
This change is necessary for instrumentation-aided state transfer. Change-Id: I24be938009f02e302a15083f9a7a11824975e42b
This commit is contained in:
@@ -174,6 +174,9 @@ vsnprintf(char *buf, size_t size, const char *fmt, va_list ap)
|
||||
if (sbuf){ /* handle case where sbuf == NULL */
|
||||
*sbuf = '\0';
|
||||
}
|
||||
#if defined(_MINIX_MAGIC)
|
||||
sbuf = ebuf = NULL; /* leave no dangling pointers */
|
||||
#endif
|
||||
return scount;
|
||||
#else /* __minix is not defined */
|
||||
*sbuf = '\0';
|
||||
|
||||
Reference in New Issue
Block a user