summaryrefslogtreecommitdiff
path: root/utils/fsysopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fsysopts.c')
-rw-r--r--utils/fsysopts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c
index 45f586cd..132888d5 100644
--- a/utils/fsysopts.c
+++ b/utils/fsysopts.c
@@ -67,7 +67,8 @@ main(int argc, char *argv[])
{
case ARGP_KEY_ARG:
node_name = arg;
- err = argz_create (state->argv + state->next, &argz, &argz_len);
+ err = argz_create ((char *const **)(state->argv + state->next),
+ &argz, &argz_len);
if (err)
error(3, err, "Can't create options vector");
state->next = state->argc; /* stop parsing */