Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169734
b: refs/heads/master
c: 96b02d7
h: refs/heads/master
v: v3
  • Loading branch information
Márton Németh authored and Ingo Molnar committed Nov 22, 2009
1 parent 0cd852a commit fc84ae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5093ebad5f2348076fdc3dac7d2358b1ad7f85f7
refs/heads/master: 96b02d78a7e47cd189f6b307c5513fec6b2155dc
2 changes: 1 addition & 1 deletion trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -3391,7 +3391,7 @@ static void perf_event_comm_event(struct perf_comm_event *comm_event)
char comm[TASK_COMM_LEN];

memset(comm, 0, sizeof(comm));
strncpy(comm, comm_event->task->comm, sizeof(comm));
strlcpy(comm, comm_event->task->comm, sizeof(comm));
size = ALIGN(strlen(comm)+1, sizeof(u64));

comm_event->comm = comm;
Expand Down

0 comments on commit fc84ae5

Please sign in to comment.