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

Re: [lvm-devel] [PATCH] #define and use INTERNAL_ERROR



On Tue, Dec 01, 2009 at 03:18:33PM +0100, Peter Rockai wrote:
> patch attached to #define an INTERNAL_ERROR macro and use it throughout
> LVM. There's a couple of internal errors in libdm as well, and it seems
> that the log_error used by libdm actually comes from lib/ (i.e. LVM) so
> it may make sense to convert those as well.
 
Ack.

Each source file includes (normally via another header) either
dm-logging.h or lvm-logging.h which deals with routing the messages to
the right logging function and with the right set of parameters.  log.h
contains the part they have in common.

Alasdair


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