Ooops I didn't intend to commit that part. revert it.
This commit is contained in:
parent
b3e8c00865
commit
ec07007116
@ -49,9 +49,6 @@ LogVWrite(const char *fmt, va_list args)
|
|||||||
char buf[1024];
|
char buf[1024];
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
len = snprintf(buf, sizeof(buf), "[%5d] ", getpid());
|
|
||||||
write(STDERR_FILENO, buf, len);
|
|
||||||
|
|
||||||
len = vsnprintf (buf, sizeof(buf), fmt, args);
|
len = vsnprintf (buf, sizeof(buf), fmt, args);
|
||||||
if (len >= sizeof(buf)) {
|
if (len >= sizeof(buf)) {
|
||||||
len = sizeof(buf) - 1;
|
len = sizeof(buf) - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user