Re: [libvirt] [PATCH 05/13] Convert (nearly) all files in src/util/ to use virReportError()

2012-07-18 Thread Daniel P. Berrange
On Wed, Jul 18, 2012 at 07:54:11AM -0600, Eric Blake wrote: > > +++ b/src/util/hooks.c > > > @@ -252,9 +248,9 @@ virHookCall(int driver, > > break; > > } > > if (opstr == NULL) { > > -virHookReportError(VIR_ERR_INTERNAL_ERROR, > > - _("Hook

Re: [libvirt] [PATCH 05/13] Convert (nearly) all files in src/util/ to use virReportError()

2012-07-18 Thread Eric Blake
On 07/18/2012 05:52 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > This removes nearly all the per-file error reporting macros > from the code in src/util/. A few custom macros remain for the > case, where the file needs to report errors with a variety of > different codes or para