summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/fsys-set-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/fsys-set-options.c b/libtrivfs/fsys-set-options.c
index 5611ac78..507bd442 100644
--- a/libtrivfs/fsys-set-options.c
+++ b/libtrivfs/fsys-set-options.c
@@ -29,8 +29,8 @@ trivfs_S_fsys_set_options (struct trivfs_control *cntl,
char *data, mach_msg_type_number_t len,
int do_children)
{
- if (trivfs_runtime_argp)
- return fshelp_set_options (trivfs_runtime_argp, 0, data, len);
+ if (cntl)
+ return trivfs_set_options (cntl, data, len);
else
return EOPNOTSUPP;
}