]> git.proxmox.com Git - qemu.git/commitdiff
linux-user: fix compile error due to stray colon at end of #ifdef line
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 21 Apr 2013 12:30:03 +0000 (13:30 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 26 Apr 2013 09:52:29 +0000 (11:52 +0200)
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 <peter.maydell@linaro.org>
Acked-By: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
linux-user/syscall.c

index c705960d7e3e5b1cfae1fb5a91537c241f2ba123..30e93bc0d01b329ebc8fc68361b4c16af2775689 100644 (file)
@@ -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;