[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]