diff options
-rw-r--r-- | tools/perf/util/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index cb98b5af9e17..8b10621b415c 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
@@ -67,7 +67,8 @@ static int perf_event__get_comm_ids(pid_t pid, char *comm, size_t len, | |||
67 | char filename[PATH_MAX]; | 67 | char filename[PATH_MAX]; |
68 | char bf[4096]; | 68 | char bf[4096]; |
69 | int fd; | 69 | int fd; |
70 | size_t size = 0, n; | 70 | size_t size = 0; |
71 | ssize_t n; | ||
71 | char *nl, *name, *tgids, *ppids; | 72 | char *nl, *name, *tgids, *ppids; |
72 | 73 | ||
73 | *tgid = -1; | 74 | *tgid = -1; |