[lvm-devel] [PATCH 21/23] Add default error path for get_property

Alasdair G Kergon agk at redhat.com
Wed Jan 5 02:05:54 UTC 2011


On Tue, Dec 21, 2010 at 04:41:53PM +0100, Zdenek Kabelac wrote:
> Set invalid property value for error path when none of handlers is set.
> Fixes use of uninitialized prop variable.
 
Ack.

> Maybe add log_error() for this programming error?
 
You could probably add a log_errno() for errors with use of the library
interface, yes.

Alasdair




More information about the lvm-devel mailing list