]> Git Repo - qemu.git/blobdiff - linux-user/syscall.c
linux-user/syscall.c: Don't skip stracing for fcntl64 failure case
[qemu.git] / linux-user / syscall.c
index c84cc65f7a29ca67779aa77f911709736239758b..2bf9e7ec44ed674d34130c4bf471e5f0cdd5a380 100644 (file)
@@ -7521,8 +7521,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
 #endif
 
        cmd = target_to_host_fcntl_cmd(arg2);
-       if (cmd == -TARGET_EINVAL)
-               return cmd;
+        if (cmd == -TARGET_EINVAL) {
+            ret = cmd;
+            break;
+        }
 
         switch(arg2) {
         case TARGET_F_GETLK64:
This page took 0.020127 seconds and 4 git commands to generate.