diff --git a/drivers/staging/hilog/hilog.c b/drivers/staging/hilog/hilog.c index dda06e14a906e15534670dd7cc300d0c3594c1c9..a9e3ad599f1462508b37f21fc9f1abb4ae38427d 100644 --- a/drivers/staging/hilog/hilog.c +++ b/drivers/staging/hilog/hilog.c @@ -253,7 +253,7 @@ static void hilog_head_init(struct hilog_entry *header, size_t len) header->len = len; header->pid = current->pid; - header->task_id = current->pid; + header->task_id = current->tgid; header->header_size = sizeof(struct hilog_entry); }