From 3735437af97a170a4fb18c86ffb24df95bd91208 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 21 Jun 1996 05:59:29 +0000 Subject: (fshelp_set_options): Add & use INPUT arg. --- libfshelp/set-options.c | 8 ++++---- 1 file 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); } -- cgit v1.2.3