]> Git Repo - qemu.git/commitdiff
Fix fcntl64 logic bug, by Kirill A. Shutemov.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 22 Mar 2007 15:08:55 +0000 (15:08 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 22 Mar 2007 15:08:55 +0000 (15:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2525 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/syscall.c

index 5ff364d16cfc285cddf4654e5ae02042ffd2bb61..f79b5e0c795990fa3e81c5e833c7b92fe30da87f 100644 (file)
@@ -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) {
This page took 0.047362 seconds and 4 git commands to generate.