Skip to content

Commit

Permalink
Merge pull request #6 from chobits/master
Browse files Browse the repository at this point in the history
remove unnecessary iput in do_exec()
  • Loading branch information
flaneur2020 committed Apr 2, 2012
2 parents 9176c2c + 12171f5 commit b0b3c6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/kern/exec.c
Expand Up @@ -58,7 +58,6 @@ int do_exec(char *path, char **argv){

ip = namei(path, 0);
if (ip==NULL) {
iput(iput);
return syserr(ENOENT);
}
// read the first block of file to get the a.out header.
Expand Down

0 comments on commit b0b3c6a

Please sign in to comment.