summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 21:01:02 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 21:01:02 +0000
commitcd35e0b1d7866dd484cb06e0fc01593efec2f63f (patch)
treedd5f33aec93fcd1ce3bbfa207684f437ab7687ed /utils
parent7080f986be33d95440c5f8ec90f9074e0ad60c9d (diff)
(main): Remove const cast from first arg to argz_create.
Diffstat (limited to 'utils')
-rw-r--r--utils/fsysopts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c
index 132888d5..45f586cd 100644
--- a/utils/fsysopts.c
+++ b/utils/fsysopts.c
@@ -67,8 +67,7 @@ main(int argc, char *argv[])
{
case ARGP_KEY_ARG:
node_name = arg;
- err = argz_create ((char *const **)(state->argv + state->next),
- &argz, &argz_len);
+ err = argz_create (state->argv + state->next, &argz, &argz_len);
if (err)
error(3, err, "Can't create options vector");
state->next = state->argc; /* stop parsing */