summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/data-return.c7
-rw-r--r--libtrivfs/fsys-stubs.c10
-rw-r--r--libtrivfs/fsys-syncfs.c2
3 files changed, 16 insertions, 3 deletions
diff --git a/libpager/data-return.c b/libpager/data-return.c
index 86d8418b..0bc6323a 100644
--- a/libpager/data-return.c
+++ b/libpager/data-return.c
@@ -19,11 +19,12 @@
#include "memory_object_S.h"
#include <stdio.h>
#include <string.h>
+#include <assert.h>
/* Worker function used by _pager_seqnos_memory_object_data_return
and _pager_seqnos_memory_object_data_initialize. All args are
as for _pager_seqnos_memory_object_data_return; the additional
- INITIALIZING arg identifies which function is calling us. *
+ INITIALIZING arg identifies which function is calling us. */
kern_return_t
_pager_do_write_request (mach_port_t object,
mach_port_seqno_t seqno,
@@ -204,8 +205,8 @@ _pager_seqnos_memory_object_data_return (mach_port_t object,
int dirty,
int kcopy)
{
- _pager_do_write_request (object, seqno, control, offset, data,
- length, dirty, kcopy, 0);
+ return _pager_do_write_request (object, seqno, control, offset, data,
+ length, dirty, kcopy, 0);
}
diff --git a/libtrivfs/fsys-stubs.c b/libtrivfs/fsys-stubs.c
index 807e85ea..51c4032b 100644
--- a/libtrivfs/fsys-stubs.c
+++ b/libtrivfs/fsys-stubs.c
@@ -69,3 +69,13 @@ trivfs_S_fsys_getfile (struct trivfs_control *cntl,
{
return EOPNOTSUPP;
}
+
+kern_return_t
+trivfs_S_fsys_mod_readonly (struct trivfs_control *cntl,
+ mach_port_t reply,
+ mach_msg_type_name_t replytype,
+ int mod,
+ int force)
+{
+ return EOPNOTSUPP;
+}
diff --git a/libtrivfs/fsys-syncfs.c b/libtrivfs/fsys-syncfs.c
index 38ebe5ef..64ed8fd5 100644
--- a/libtrivfs/fsys-syncfs.c
+++ b/libtrivfs/fsys-syncfs.c
@@ -23,6 +23,8 @@
kern_return_t
trivfs_S_fsys_syncfs (struct trivfs_control *cntl,
+ mach_port_t reply,
+ mach_msg_type_name_t replytype,
int wait,
int dochildren)
{