Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Dec 6, 2024
1 parent 2dc076e commit a125f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/picotls.c
Original file line number Diff line number Diff line change
Expand Up @@ -7125,7 +7125,7 @@ void ptls_log__do_write_start(struct st_ptls_log_point_t *point, ptls_buffer_t *
pthread_mutex_lock(&mutex);
if (tid.len == 0) {
#if defined(__linux__)
sprintf(tid.buf, ",\"tid\":%" PRId64, (int64_t)syscall(SYS_gettid));
int l = sprintf(tid.buf, ",\"tid\":%" PRId64, (int64_t)syscall(SYS_gettid));
#elif defined(__APPLE__)
uint64_t t = 0;
(void)pthread_threadid_np(NULL, &t);
Expand Down

0 comments on commit a125f00

Please sign in to comment.