summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authoraurel322009-04-15 19:12:01 +0200
committeraurel322009-04-15 19:12:01 +0200
commitfda3374454b3b93dea4036b778d3761265821db5 (patch)
tree164b0385d8ea52881edf7d2fc1619ef8a080464c /linux-user
parentlinux-user: proper exit code for uncaught signals (diff)
downloadqemu-fda3374454b3b93dea4036b778d3761265821db5.tar.gz
qemu-fda3374454b3b93dea4036b778d3761265821db5.tar.xz
qemu-fda3374454b3b93dea4036b778d3761265821db5.zip
linux-user: fix warnings introduced by r7118
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7120 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9d7650a185..74b41a82d6 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -314,7 +314,7 @@ static int sys_fchmodat(int dirfd, const char *pathname, mode_t mode, int flags)
return (fchmodat(dirfd, pathname, mode, flags));
}
#endif
-#ifdef TARGET_NR_fchownat
+#if defined(TARGET_NR_fchownat) && defined(USE_UID16)
static int sys_fchownat(int dirfd, const char *pathname, uid_t owner,
gid_t group, int flags)
{