diff options
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r-- | cli/src/cli3_1-cops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index 77fb3852b..728c79095 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -1095,12 +1095,12 @@ gf_cli3_1_stop_volume (call_frame_t *frame, xlator_t *this, goto out; } - req.volname = data; - + req = *((gf1_cli_stop_vol_req*)data); local = cli_local_get (); if (local) { - local->u.stop_vol.volname = data; + local->u.stop_vol.volname = req.volname; + local->u.stop_vol.flags = req.flags; frame->local = local; } |