diff options
author | Peter Maydell | 2013-04-21 14:30:03 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2013-04-26 11:52:29 +0200 |
commit | 7edd2cf1a2eace84e3f8753e912449ae8871802f (patch) | |
tree | ef0411c4b180312eba55911b5575dac9ff4bcbc2 /linux-user | |
parent | Makefile: Use QEMU_FLAGS for DTC compilation (diff) | |
download | qemu-7edd2cf1a2eace84e3f8753e912449ae8871802f.tar.gz qemu-7edd2cf1a2eace84e3f8753e912449ae8871802f.tar.xz qemu-7edd2cf1a2eace84e3f8753e912449ae8871802f.zip |
linux-user: fix compile error due to stray colon at end of #ifdef line
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>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index c705960d7e..30e93bc0d0 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; |