diff --git a/device_mapper/libdm-deptree.c b/device_mapper/libdm-deptree.c index 77e2b4d50..d3a5c27b7 100644 --- a/device_mapper/libdm-deptree.c +++ b/device_mapper/libdm-deptree.c @@ -2644,7 +2644,7 @@ static int _vdo_emit_segment_line(struct dm_task *dmt, /* Unlike normal targets, current VDO requires device path */ if (dm_snprintf(data_dev, sizeof(data_dev), "/dev/dm-%u", seg->vdo_data->info.minor) < 0) { log_error("Can create VDO data volume path for %s.", data); - return_0; + return 0; } EMIT_PARAMS(pos, "%s %u %s " FMTu64 " " FMTu64 " %u on %s %s "