diff options
-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); } |