summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */