about summary refs log tree commit diff
path: root/hurd/fopenport.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/fopenport.c')
-rw-r--r--hurd/fopenport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/fopenport.c b/hurd/fopenport.c
index 293c902ae3..5bc01fcd7e 100644
--- a/hurd/fopenport.c
+++ b/hurd/fopenport.c
@@ -48,7 +48,7 @@ readio (void *cookie, char *buf, size_t n)
 static ssize_t
 writeio (void *cookie, const char *buf, size_t n)
 {
-  mach_msg_type_number_t wrote;
+  vm_size_t wrote;
   error_t err;
 
   if (err = __io_write ((io_t) cookie, buf, n, -1, &wrote))