]> sourceware.org Git - lvm2.git/commit - WHATS_NEW
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)
commiteafbdf30290e9fc6de1221315eb7d10bf34853ef
tree76885567d3b47a98896cd8c54e3c992d8159bcaa
parentfaf7c493f866164ff101ba4cc02f7779c34858e5
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.031652 seconds and 5 git commands to generate.