diff options
author | Miles Bader <miles@gnu.org> | 1997-04-25 15:08:57 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-04-25 15:08:57 +0000 |
commit | e63a8dbffeae4829206a6efbb4ce7214a07133e5 (patch) | |
tree | 6aa4fe23d8077c9417a5aa42f515ced2f09a12ac /pfinet | |
parent | 021f90948343c2029a27b466c19df179f31f146d (diff) |
(trivfs_append_args):
Renamed from trivfs_get_options.
Don't initialize ARGZ/ARGZ_LEN.
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/options.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <miles@gnu.ai.mit.edu> @@ -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); } |