multipath-tools: Fix uevent handling code
authorBenjamin Marzinski <bmarzins@redhat.com>
Mon, 3 Aug 2009 21:59:05 +0000 (16:59 -0500)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 4 Aug 2009 21:34:07 +0000 (23:34 +0200)
commitee310d71b514b0722f0ec136e3747224ac0596cf
tree2915e273e415e3e1a5832a361f24020e492f30a7
parentf30ea8e7b45c4b65ca654253cc90c29b90f394ab
multipath-tools: Fix uevent handling code

Multipathd wasn't setting buflen when it read in a uevent message.  This was
causing buflen to be used unitialized, and would often keep multipathd from
processing uevents.  This patch correctly initializes buflen to the size of the
buffer received.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/uevent.c