master - segtype: Fix unrecognised flag message.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5397837a9f334fa91973e36acf38655a19b88b28 Commit: 5397837a9f334fa91973e36acf38655a19b88b28 Parent: e4e29add685fce5473bec3c23013a1ddb72fd4b6 Author: Alasdair G Kergon <[email protected]> AuthorDate: Mon Jul 25 12:56:25 2016 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Mon Jul 25 12:59:50 2016 +0100
segtype: Fix unrecognised flag message.
Show in hex not decimal.
--- WHATS_NEW | 1 + lib/metadata/segtype.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.162 - ================================= + Fix unrecognised segtype flag message. lvconvert reuse cachepool metadade now ONLY with -Zn and clear otherwise. Enabled lvconvert --uncache to work with partial VG.
lib/metadata/segtype.c +1 -1
@@ -47,7 +47,7 @@ struct segment_type *get_segtype_from_flag(struct cmd_context *cmd, uint64_t flaif (flag & segtype->flags)return segtype; -log_error (INTERNAL_ERROR "Unrecognised segment type flag 0x%" PRIu64, flag); +log_error (INTERNAL_ERROR "Unrecognised segment type flag 0x%" PRIx64, flag);return NULL ; }