[dm-devel] [PATCH] dmsetup: missing end of string

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Tue Jun 19 14:58:20 UTC 2007


Hi,

'devno' field of dmsetup info doesn't work.

# dmsetup info -c -o devno
dm_report: snprintf heading failed
dm_report: left-aligned snprintf() failed

There is a missing '\0' at the end of the copied strings.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmsetup-info-missing-eos.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070619/a5312bf9/attachment.bin>


More information about the dm-devel mailing list