提交 a7222580 编写于 作者: T ths

Fix fcntl64 logic bug, by Kirill A. Shutemov.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2525 c046a42c-6fe2-441c-8c8c-71466251a162
上级 6e65a42a
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册