Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199735
b: refs/heads/master
c: 2fb750e
h: refs/heads/master
i:
  199733: f12e446
  199731: b729c9e
  199727: 9155476
v: v3
  • Loading branch information
Borislav Petkov authored and Frederic Weisbecker committed May 31, 2010
1 parent 6101e32 commit 75e02c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: dd833d713ccc79e00176eb1b3a6c65638c44e27b
refs/heads/master: 2fb750e825b5347de0390315f4284f13709a9856
3 changes: 1 addition & 2 deletions trunk/tools/perf/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ static int __cmd_record(int argc, const char **argv)
{
int i, counter;
struct stat st;
pid_t pid = 0;
int flags;
int err;
unsigned long waking = 0;
Expand Down Expand Up @@ -572,7 +571,7 @@ static int __cmd_record(int argc, const char **argv)

if (forks) {
child_pid = fork();
if (pid < 0) {
if (child_pid < 0) {
perror("failed to fork");
exit(-1);
}
Expand Down

0 comments on commit 75e02c6

Please sign in to comment.