]> sourceware.org Git - lvm2.git/commitdiff
metadata: add INTERNAL_ERROR to "Metadata inconsistency" msg
authorPeter Rajnoha <prajnoha@redhat.com>
Thu, 10 Oct 2013 11:34:43 +0000 (13:34 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Thu, 10 Oct 2013 11:34:43 +0000 (13:34 +0200)
So we can spot it better if it occurs.

lib/format_text/flags.c

index 6801d6c74b50fbca37a6a8da9d292b697f0e6426..a27b791d9b7e85a9e99b8caf13c2ff7143e85726 100644 (file)
@@ -145,8 +145,8 @@ int print_flags(uint64_t status, int type, char *buffer, size_t size)
                return 0;
 
        if (status)
-               log_warn("Metadata inconsistency: Not all flags successfully "
-                        "exported.");
+               log_warn(INTERNAL_ERROR "Metadata inconsistency: "
+                        "Not all flags successfully exported.");
 
        return 1;
 }
This page took 0.037611 seconds and 5 git commands to generate.