diff options
author | Miles Bader <miles@gnu.org> | 1996-06-21 05:59:29 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-06-21 05:59:29 +0000 |
commit | 3735437af97a170a4fb18c86ffb24df95bd91208 (patch) | |
tree | d83f4205c7a0912bcbabd63590e0d2405724638f /libfshelp | |
parent | dafce4b40dde95601ef640983879d11ee7ada1e8 (diff) |
(fshelp_set_options): Add & use INPUT arg.
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/set-options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libfshelp/set-options.c b/libfshelp/set-options.c index 72947b2f..ba1e50d5 100644 --- a/libfshelp/set-options.c +++ b/libfshelp/set-options.c @@ -32,15 +32,15 @@ /* Invoke ARGP with data from DATA & LEN, in the standard way. */ error_t fshelp_set_options (struct argp *argp, int flags, - char *data, mach_msg_type_number_t len) + char *argz, size_t argz_len, void *input) { - int argc = argz_count (data, len); + int argc = argz_count (argz, argz_len); char **argv = alloca (sizeof (char *) * (argc + 1)); - argz_extract (data, len, argv); + argz_extract (argz, argz_len, argv); return argp_parse (argp, argc, argv, flags | ARGP_NO_ERRS | ARGP_NO_HELP | ARGP_PARSE_ARGV0, - 0, 0); + 0, input); } |