]> sourceware.org Git - lvm2.git/commitdiff
debug: passing non-raid seg would be internal error
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 16 Jun 2017 14:24:38 +0000 (16:24 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 16 Jun 2017 15:04:02 +0000 (17:04 +0200)
lib/metadata/lv.c

index 555df1ab0abedc7ec414099ebe15f285fe8ec911..c87bb6b47e0951d52e536778fef8ebfb552644cf 100644 (file)
@@ -1096,7 +1096,7 @@ int lv_raid_healthy(const struct logical_volume *lv)
        }
 
        if (!seg_is_raid(raid_seg)) {
-               log_error("%s on %s is not a RAID segment",
+               log_error(INTERNAL_ERROR "%s on %s is not a RAID segment.",
                          raid_seg->lv->name, lv->name);
                return 0;
        }
This page took 0.036571 seconds and 5 git commands to generate.