Skip to contentSkip to conversation

[7120] linux-user: fix warnings introduced by r7118

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 15, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 7120

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7120
Author:   aurel32
Date:     2009-04-15 17:12:01 +0000 (Wed, 15 Apr 2009)

Log Message:
-----------
linux-user: fix warnings introduced by r7118

Modified Paths:
--------------
trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================

linux-user/syscall.c +1 -1
@@ -314,7 +314,7 @@
   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)
 {