Commit fda3374454b3b93dea4036b778d3761265821db5

Authored by aurel32
1 parent 603e4fd7

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
Showing 1 changed file with 1 additions and 1 deletions
linux-user/syscall.c
@@ -314,7 +314,7 @@ static int sys_fchmodat(int dirfd, const char *pathname, mode_t mode, int flags) @@ -314,7 +314,7 @@ static int sys_fchmodat(int dirfd, const char *pathname, mode_t mode, int flags)
314 return (fchmodat(dirfd, pathname, mode, flags)); 314 return (fchmodat(dirfd, pathname, mode, flags));
315 } 315 }
316 #endif 316 #endif
317 -#ifdef TARGET_NR_fchownat 317 +#if defined(TARGET_NR_fchownat) && defined(USE_UID16)
318 static int sys_fchownat(int dirfd, const char *pathname, uid_t owner, 318 static int sys_fchownat(int dirfd, const char *pathname, uid_t owner,
319 gid_t group, int flags) 319 gid_t group, int flags)
320 { 320 {