Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147588
b: refs/heads/master
c: 229c4ee
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Jun 1, 2009
1 parent 6eb3183 commit 601e61f
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: 22a4f650d686eeaac3629dae1c4294381485efdf
refs/heads/master: 229c4eedcedcdadf70411120ba34bc37554a74bd
2 changes: 1 addition & 1 deletion trunk/Documentation/perf_counter/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static int __cmd_record(int argc, const char **argv)
assert(nr_cpus <= MAX_NR_CPUS);
assert(nr_cpus >= 0);

output = open(output_name, O_CREAT|O_RDWR, S_IRWXU);
output = open(output_name, O_CREAT|O_EXCL|O_RDWR, S_IRWXU);
if (output < 0) {
perror("failed to create output file");
exit(-1);
Expand Down

0 comments on commit 601e61f

Please sign in to comment.