diff --git a/[refs] b/[refs] index b8fb5a359058..034a04f46e2e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c81251e808fe2386e71990ecd49c408bb7cb4666 +refs/heads/master: f95e0818cbd026a8f2277895c65fcc9cc5b28cf6 diff --git a/trunk/tools/perf/tests/dso-data.c b/trunk/tools/perf/tests/dso-data.c index b5198f52c24a..5eaffa2de9c5 100644 --- a/trunk/tools/perf/tests/dso-data.c +++ b/trunk/tools/perf/tests/dso-data.c @@ -26,6 +26,10 @@ static char *test_file(int size) unsigned char *buf; fd = mkstemp(templ); + if (fd < 0) { + perror("mkstemp failed"); + return NULL; + } buf = malloc(size); if (!buf) {