Use proper string formats
This commit is contained in:
parent
3d7a6e41c6
commit
1f7ca0c189
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ void bdberl_tpool_thread_id(DB_ENV *env, pid_t *pid, db_threadid_t *tid)
|
|||
|
||||
char *bdberl_tpool_thread_id_string(DB_ENV *dbenv, pid_t pid, db_threadid_t tid, char *buf)
|
||||
{
|
||||
snprintf(buf, DB_THREADID_STRLEN, "[pid:%08X/tid:%08X]", (unsigned int)pid, (unsigned int)tid);
|
||||
snprintf(buf, DB_THREADID_STRLEN, "%d/%p", pid, tid);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue