Skip to contentSkip to conversation

linux-user: Remove incorrect break;

PATCH Applied Riku Voipio 2 participants 2 messages Feb 2, 2009 – Feb 3, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: Remove incorrect break;

---
 linux-user/syscall.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
linux-user/syscall.c +0 -1
index ad814dd..2a99940 100644
@@ -4921,7 +4921,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
                     }
                 else
                     ret = get_errno(readlink(path(p), p2, arg3));
-                break;
             }
             unlock_user(p2, arg2, ret);
             unlock_user(p, arg1, 0);
Signature · 5 lines
1.5.6.5


-- 
"rm -rf" only sounds scary if you don't have backups
#1 lore raw
Quoted 2 lines · Riku Voipio

Thanks, applied.

Quoted 25 lines
---
 linux-user/syscall.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
linux-user/syscall.c +0 -1
index ad814dd..2a99940 100644
@@ -4921,7 +4921,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
                     }
                 else
                     ret = get_errno(readlink(path(p), p2, arg3));
-                break;
             }
             unlock_user(p2, arg2, ret);
             unlock_user(p, arg1, 0);
Signature · 5 lines
1.5.6.5


-- 
"rm -rf" only sounds scary if you don't have backups
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net