]> sourceware.org Git - dm.git/commitdiff
fix mirror log parm count
authorAlasdair Kergon <agk@redhat.com>
Wed, 8 Feb 2006 14:14:13 +0000 (14:14 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 8 Feb 2006 14:14:13 +0000 (14:14 +0000)
lib/libdm-deptree.c

index 1431cf6ea8265fc1700adeb2fa0d21df5b4267fe..82b54ec6bb2b1ca45e966c416661754c6ec06328 100644 (file)
@@ -1240,7 +1240,7 @@ static int _emit_segment_line(struct dm_task *dmt, struct load_segment *seg, uin
                break;
        case SEG_MIRRORED:
                log_parm_count = 1;     /* Region size */
-               log_parm_count = hweight32(seg->flags); /* [no]sync, block_on_error etc. */
+               log_parm_count += hweight32(seg->flags);        /* [no]sync, block_on_error etc. */
 
                if (seg->clustered) {
                        if (seg->uuid)
This page took 0.029234 seconds and 5 git commands to generate.