qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: Remove incorrect break;
@ 2009-02-02  9:18 Riku Voipio
  2009-02-03 19:57 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Riku Voipio @ 2009-02-02  9:18 UTC (permalink / raw)
  To: qemu-devel

Reported-By: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
---
 linux-user/syscall.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ad814dd..2a99940 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -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);
-- 
1.5.6.5


-- 
"rm -rf" only sounds scary if you don't have backups

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] linux-user: Remove incorrect break;
  2009-02-02  9:18 [Qemu-devel] [PATCH] linux-user: Remove incorrect break; Riku Voipio
@ 2009-02-03 19:57 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2009-02-03 19:57 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel

On Mon, Feb 02, 2009 at 11:18:52AM +0200, Riku Voipio wrote:
> Reported-By: Laurent Desnogues <laurent.desnogues@gmail.com>
> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>

Thanks, applied.

> ---
>  linux-user/syscall.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index ad814dd..2a99940 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -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);
> -- 
> 1.5.6.5
> 
> 
> -- 
> "rm -rf" only sounds scary if you don't have backups
> 
> 
> 

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-03 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02  9:18 [Qemu-devel] [PATCH] linux-user: Remove incorrect break; Riku Voipio
2009-02-03 19:57 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).