summaryrefslogtreecommitdiff
path: root/cmd_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_device.c')
-rw-r--r--cmd_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_device.c b/cmd_device.c
index 1cb31ab8..bd496835 100644
--- a/cmd_device.c
+++ b/cmd_device.c
@@ -332,7 +332,7 @@ int cmd_device_evacuate(int argc, char *argv[])
}
return bchu_data(fs, (struct bch_ioctl_data) {
- .op = BCH_DATA_OP_MIGRATE,
+ .op = BCH_DATA_OP_migrate,
.start_btree = 0,
.start_pos = POS_MIN,
.end_btree = BTREE_ID_NR,