Win compile fix

svn path=/trunk/boinc/; revision=22367
This commit is contained in:
David Anderson 2010-09-16 03:53:27 +00:00
parent d3e4c729e5
commit d48e377e8a
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ char* boinc_msg_prefix(char* sbuf, int len) {
struct tm* tm = localtime(&x);
strftime(buf, sizeof(buf)-1, "%H:%M:%S", tm);
#ifdef _WIN32
snprintf(sbuf, len, "%s (%d):", buf, GetCurrentProcessId());
_snprintf(sbuf, len, "%s (%d):", buf, GetCurrentProcessId());
#else
snprintf(sbuf, len, "%s (%d):", buf, getpid());
#endif