qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] linux-user: fix compile error due to stray co


From: Riku Voipio
Subject: Re: [Qemu-trivial] [PATCH] linux-user: fix compile error due to stray colon at end of #ifdef line
Date: Mon, 22 Apr 2013 09:38:18 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Apr 21, 2013 at 01:30:03PM +0100, Peter Maydell wrote:
> Remove a stray colon from the end of a #ifdef line. Some versions
> of gcc complain about this:
>  linux-user/syscall.c: In function ‘do_syscall’:
>  linux-user/syscall.c:7606:28: error: extra tokens at end of #ifdef directive 
> [-Werror]
> 
> Signed-off-by: Peter Maydell <address@hidden>

Acked-By: Riku Voipio <address@hidden>

> ---
> Obviously this is 1.5 material; don't care whether it goes through
> linux-user or qemu-trivial or direct commit.
> 
>  linux-user/syscall.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index c705960..30e93bc 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -7603,7 +7603,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long 
> arg1,
>  #endif
>  #else
>      case TARGET_NR_sendfile:
> -#ifdef TARGET_NR_sendfile64:
> +#ifdef TARGET_NR_sendfile64
>      case TARGET_NR_sendfile64:
>  #endif
>          goto unimplemented;
> -- 
> 1.7.11.4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]