From 5ec6ae87694239096f7470f3a021b027a978fcff Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 20 Jun 1996 01:41:39 +0000 Subject: (trivfs_S_fsys_set_options): Use trivfs_runtime_argp to parse options. --- libtrivfs/fsys-set-options.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libtrivfs/fsys-set-options.c b/libtrivfs/fsys-set-options.c index d91f3834..5611ac78 100644 --- a/libtrivfs/fsys-set-options.c +++ b/libtrivfs/fsys-set-options.c @@ -18,6 +18,7 @@ along with the GNU Hurd; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include #include "priv.h" #include "fsys_S.h" @@ -28,5 +29,8 @@ trivfs_S_fsys_set_options (struct trivfs_control *cntl, char *data, mach_msg_type_number_t len, int do_children) { - return EOPNOTSUPP; + if (trivfs_runtime_argp) + return fshelp_set_options (trivfs_runtime_argp, 0, data, len); + else + return EOPNOTSUPP; } -- cgit v1.2.3