summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/io-write.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/io-write.c b/libtrivfs/io-write.c
index b91aedcf..b60228e4 100644
--- a/libtrivfs/io-write.c
+++ b/libtrivfs/io-write.c
@@ -16,9 +16,11 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "io_S.h"
+#include <assert.h>
-error_t
-trivfs_S_io_write (struct protid *cred,
+kern_return_t
+trivfs_S_io_write (struct trivfs_protid *cred,
char *data,
u_int datalen,
off_t off,