--- linux-user/syscall.c	2005-06-04 02:06:33.000000000 +0300
+++ linux-user/syscall.c	2005-06-04 02:08:17.000000000 +0300
@@ -3143,6 +3143,9 @@
 #if TARGET_LONG_BITS == 32
     case TARGET_NR_fcntl64:
     {
+        ret = get_errno(do_fcntl(arg1, arg2, arg3));
+
+	/* This caused adduser not to work in my box
 	struct flock64 fl;
 	struct target_flock64 *target_fl = (void *)arg3;
 
@@ -3171,6 +3174,7 @@
             ret = get_errno(do_fcntl(arg1, arg2, arg3));
             break;
         }
+	*/
 	break;
     }
 #endif
