aboutsummaryrefslogtreecommitdiff
path: root/pfinet/tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/tunnel.c')
-rw-r--r--pfinet/tunnel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pfinet/tunnel.c b/pfinet/tunnel.c
index 1082404e..e11ab670 100644
--- a/pfinet/tunnel.c
+++ b/pfinet/tunnel.c
@@ -291,7 +291,7 @@ error_t
trivfs_S_io_read (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t reply_type,
data_t *data, mach_msg_type_number_t *data_len,
- loff_t offs, size_t amount)
+ off_t offs, vm_size_t amount)
{
struct tunnel_device *tdev;
struct sk_buff *skb;
@@ -372,7 +372,7 @@ trivfs_S_io_write (struct trivfs_protid *cred,
const_data_t data,
mach_msg_type_number_t datalen,
off_t offset,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
struct tunnel_device *tdev;
struct sk_buff *skb;
@@ -415,7 +415,7 @@ trivfs_S_io_write (struct trivfs_protid *cred,
kern_return_t
trivfs_S_io_readable (struct trivfs_protid *cred,
mach_port_t reply, mach_msg_type_name_t replytype,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
struct tunnel_device *tdev;
struct sk_buff *skb;