Skip to content

Commit

Permalink
syscall: Fix typo
Browse files Browse the repository at this point in the history
Obviously we want to unlock what we locked, not something
unrelated.
  • Loading branch information
susematz authored and agraf committed Sep 5, 2013
1 parent d1e4d40 commit ee2ed52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -4630,7 +4630,7 @@ static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
return -TARGET_EFAULT;
target_foex->type = tswap32(foex.type);
target_foex->pid = tswap32(foex.type);
unlock_user_struct(target_fl64, arg, 1);
unlock_user_struct(target_foex, arg, 1);
}
break;

Expand Down

0 comments on commit ee2ed52

Please sign in to comment.