summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2001-01-29 07:23:55 +0000
committerjasoni <jasoni@cvs.openbsd.org>2001-01-29 07:23:55 +0000
commit042c6e26cf62ad4c614c84ce6a3851107d0c6814 (patch)
tree0970e02b11281110e1f0e6bbf93d08080e0f960e /sys/compat/linux
parent41f4fa99f775489847c89bfadf29073dd005e106 (diff)
implement ftruncate64
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_dummy.c3
-rw-r--r--sys/compat/linux/syscalls.master4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c
index 304692cfdd0..e4b66d15a5e 100644
--- a/sys/compat/linux/linux_dummy.c
+++ b/sys/compat/linux/linux_dummy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_dummy.c,v 1.2 2000/12/22 07:34:02 jasoni Exp $ */
+/* $OpenBSD: linux_dummy.c,v 1.3 2001/01/29 07:23:54 jasoni Exp $ */
/*-
* Copyright (c) 1994-1995 Søren Schmidt
@@ -115,4 +115,3 @@ DUMMY(sendfile); /* #187 */
DUMMY(getpmsg); /* #188 */
DUMMY(putpmsg); /* #189 */
DUMMY(mmap2); /* #192 */
-DUMMY(ftruncate64); /* #194 */
diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master
index 033c3d53f4b..20831cf90f2 100644
--- a/sys/compat/linux/syscalls.master
+++ b/sys/compat/linux/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.26 2000/12/22 07:34:02 jasoni Exp $
+ $OpenBSD: syscalls.master,v 1.27 2001/01/29 07:23:54 jasoni Exp $
; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -308,7 +308,7 @@
192 STD { int linux_sys_mmap2(void); }
193 STD { int linux_sys_truncate64(char *path, \
off_t length); }
-194 STD { int linux_sys_ftruncate64(void); }
+194 NOARGS linux_ftruncate64 { int sys_ftruncate(int fd, off_t length); }
195 STD { int linux_sys_stat64(char *path, \
struct linux_stat64 *sp); }
196 STD { int linux_sys_lstat64(char *path, \