mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
Fix fcntl64 logic bug, by Kirill A. Shutemov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2525 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6e65a42ad3
commit
a722258036
@ -3882,12 +3882,16 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
|
||||
switch(arg2){
|
||||
case TARGET_F_GETLK64:
|
||||
cmd = F_GETLK64;
|
||||
break;
|
||||
case TARGET_F_SETLK64:
|
||||
cmd = F_SETLK64;
|
||||
break;
|
||||
case TARGET_F_SETLKW64:
|
||||
cmd = F_SETLK64;
|
||||
break;
|
||||
default:
|
||||
cmd = arg2;
|
||||
break;
|
||||
}
|
||||
|
||||
switch(arg2) {
|
||||
|
Loading…
Reference in New Issue
Block a user