master - metadata: add INTERNAL_ERROR to "Metadata inconsistency" msg
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6b35c70e8b17b09691d2db6ea2eadba2ee2d095d Commit: 6b35c70e8b17b09691d2db6ea2eadba2ee2d095d Parent: 029b8fbe767e63f1d0a4f6c81a0095af46e9a000 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Oct 10 13:34:43 2013 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Oct 10 13:34:43 2013 +0200
metadata: add INTERNAL_ERROR to "Metadata inconsistency" msg
So we can spot it better if it occurs.
--- lib/format_text/flags.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
lib/format_text/flags.c +2 -2
@@ -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 ; }