]> sourceware.org Git - lvm2.git/commit
Don't print char type[8] as a plain string
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 24 Oct 2011 10:24:39 +0000 (10:24 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 24 Oct 2011 10:24:39 +0000 (10:24 +0000)
commit80cdb5240ea9d20cdfd5da27c0023abbdc318e85
tree76885567d3b47a98896cd8c54e3c992d8159bcaa
parent5ee6718daaa809eca6f11d743fdaf9ff4b4f0eb4
Don't print char type[8] as a plain string

pvck prints 'extra' character from the label since there is no '\0'
after the struct label entry and just uint64_t follows directly.
So avoid it by limiting 8 chars to be printed.

https://www.redhat.com/archives/lvm-devel/2011-January/msg00109.html

Signed-off-by: Paul Bolle <pebolle tiscali nl>
WHATS_NEW
lib/metadata/metadata.c
This page took 0.036851 seconds and 5 git commands to generate.