From 5805b21734a6e8c1b3cc912adee2bbaab8b7c10c Mon Sep 17 00:00:00 2001 From: Irina Tirdea Date: Sat, 8 Sep 2012 03:43:21 +0300 Subject: [PATCH] --- yaml --- r: 323782 b: refs/heads/master c: 7b45f21c2e42f265f6fd469e43857e98e2fdf01c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/perf/util/dso-test-data.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ee4824525624..7a391bb178d0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 27683dc5cc9286ace82b6c900ab794428ed5e487 +refs/heads/master: 7b45f21c2e42f265f6fd469e43857e98e2fdf01c diff --git a/trunk/tools/perf/util/dso-test-data.c b/trunk/tools/perf/util/dso-test-data.c index 541cdc72c7df..c6caedeb1d6b 100644 --- a/trunk/tools/perf/util/dso-test-data.c +++ b/trunk/tools/perf/util/dso-test-data.c @@ -23,7 +23,7 @@ static char *test_file(int size) int fd, i; unsigned char *buf; - fd = mkostemp(templ, O_CREAT|O_WRONLY|O_TRUNC); + fd = mkstemp(templ); buf = malloc(size); if (!buf) {