From e63a8dbffeae4829206a6efbb4ce7214a07133e5 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 25 Apr 1997 15:08:57 +0000 Subject: (trivfs_append_args): Renamed from trivfs_get_options. Don't initialize ARGZ/ARGZ_LEN. --- pfinet/options.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pfinet/options.c') diff --git a/pfinet/options.c b/pfinet/options.c index b84230fb..b308dc36 100644 --- a/pfinet/options.c +++ b/pfinet/options.c @@ -1,6 +1,6 @@ /* Pfinet option parsing - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader @@ -270,7 +270,7 @@ pfinet_argp = { options, parse_opt, 0, doc }; struct argp *trivfs_runtime_argp = &pfinet_argp; error_t -trivfs_get_options (struct trivfs_control *fsys, char **argz, size_t *argz_len) +trivfs_append_args (struct trivfs_control *fsys, char **argz, size_t *argz_len) { error_t add_dev_opts (struct device *dev) { @@ -298,8 +298,5 @@ trivfs_get_options (struct trivfs_control *fsys, char **argz, size_t *argz_len) return err; } - *argz = 0; - *argz_len = 0; - return enumerate_devices (add_dev_opts); } -- cgit v1.2.3