Skip to content

Commit

Permalink
Fixes smuos#5. Change function knife to fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 16, 2014
1 parent 73ea801 commit aa92fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fork1.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ main(int argc, const char** argv)
}

printf("Hi stranger! I'm (pid:%d)\n", (int) getpid());
int rc = knife(); //slice off another process
int rc = fork(); //slice off another process
if (rc < -1) {
// Could not cut another process
fprintf(stdout, "OS too hard, could not cut.\n");
Expand Down

0 comments on commit aa92fcc

Please sign in to comment.