summaryrefslogtreecommitdiff
path: root/pfinet/options.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-04-25 15:08:57 +0000
committerMiles Bader <miles@gnu.org>1997-04-25 15:08:57 +0000
commite63a8dbffeae4829206a6efbb4ce7214a07133e5 (patch)
tree6aa4fe23d8077c9417a5aa42f515ced2f09a12ac /pfinet/options.c
parent021f90948343c2029a27b466c19df179f31f146d (diff)
(trivfs_append_args):
Renamed from trivfs_get_options. Don't initialize ARGZ/ARGZ_LEN.
Diffstat (limited to 'pfinet/options.c')
-rw-r--r--pfinet/options.c7
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);
}