From 90a34450e570cde46f11ff53429a52ba378eac81 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 6 Feb 2006 19:32:18 +0000 Subject: [PATCH] Change prefix for clustered log from "clustered " to "clustered_" --- libdm/libdm-deptree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index ff7c39bde..5a4ff4e5c 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -1239,14 +1239,15 @@ static int _emit_segment_line(struct dm_task *dmt, struct load_segment *seg, uin break; case SEG_MIRRORED: if (seg->clustered) { - if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered ")) < 0) { + if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered_")) < 0) { stack; /* Out of space */ return -1; } pos += tw; } - log_parm_count = hweight32(seg->flags) + 1; + log_parm_count = 1; /* Region size */ + log_parm_count = hweight32(seg->flags); /* [no]sync, block_on_error etc. */ if (!seg->log) logtype = "core";