diff -Nru linux-user/syscall.c linux-user/syscall.c --- linux-user/syscall.c 2005-03-23 10:56:59.000000000 +0200 +++ linux-user/syscall.c 2005-03-23 11:22:58.000000000 +0200 @@ -2894,7 +2894,8 @@ #endif #ifdef TARGET_NR_truncate64 case TARGET_NR_truncate64: - goto unimplemented; + ret = get_errno(truncate64((const char *)arg1, arg2)); + break; #endif #ifdef TARGET_NR_ftruncate64 case TARGET_NR_ftruncate64: