]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix: correct debug printing of the volume's name
authorLukasz Dorau <lukasz.dorau@intel.com>
Wed, 19 Oct 2011 13:16:33 +0000 (15:16 +0200)
committerNeilBrown <neilb@suse.de>
Thu, 20 Oct 2011 01:56:56 +0000 (12:56 +1100)
commitc4acd1e5c83a7ad746e8d0a0949e097c8aaf525c
tree17bf23435d72a1f55ca8d4cf5b5dd518091a432d
parent7d0c5e24a5b2425abcfb778f9c31db39f53703c8
imsm: fix: correct debug printing of the volume's name

The volume's name is saved in the array of chars.
All elements of the array can have nonzero values
and the next byte in memory does not have to have
the value of 0, so one must be cautious when
printing out the volume's name.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c