summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-20 01:41:39 +0000
committerMiles Bader <miles@gnu.org>1996-06-20 01:41:39 +0000
commit5ec6ae87694239096f7470f3a021b027a978fcff (patch)
tree3ae8e524b138813fd4a646524ecfe9a02cfaffff
parentef166947ee56afcf921dcc95da2638d929a11f06 (diff)
(trivfs_S_fsys_set_options): Use trivfs_runtime_argp to parse options.
-rw-r--r--libtrivfs/fsys-set-options.c6
1 files changed, 5 insertions, 1 deletions
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 <hurd/fshelp.h>
#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;
}