From 47f24367dbd97e6d040fd900b76ecc75d273885a Mon Sep 17 00:00:00 2001 From: Stephane Eranian Date: Tue, 21 Feb 2012 15:54:25 +0100 Subject: [PATCH] --- yaml --- r: 288682 b: refs/heads/master c: 6b1bee9035d430c4b4f586df6df4b3f840e89b5b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/util/thread_map.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 85b6d7a3113a..c68978a1421f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dfd3b1e3e8a580bcbf854d46ae0f22c8333e82d8 +refs/heads/master: 6b1bee9035d430c4b4f586df6df4b3f840e89b5b diff --git a/trunk/tools/perf/util/thread_map.c b/trunk/tools/perf/util/thread_map.c index e15983cf077d..84d9bd782004 100644 --- a/trunk/tools/perf/util/thread_map.c +++ b/trunk/tools/perf/util/thread_map.c @@ -229,7 +229,7 @@ static struct thread_map *thread_map__new_by_tid_str(const char *tid_str) if (!tid_str) { threads = malloc(sizeof(*threads) + sizeof(pid_t)); if (threads != NULL) { - threads->map[1] = -1; + threads->map[0] = -1; threads->nr = 1; } return threads;