[libvirt] [PATCH 4/4] util: print errno in virObjectLockableNew

Jincheng Miao jmiao at redhat.com
Wed Jul 16 07:56:07 UTC 2014


----- Original Message -----
> ----- Original Message -----
> > Oh, sorry; /me facepalms...
> > 
> > You're right then, but if you want to change it everywhere in the code
> > (which I don't require), it would be better to create a
> > virMutexInitInternal that takes 2 parameters; the second being a bool
> > that controls error reporting and virMutexInit and virMutexInitQuiet
> > would be two macros.  Similarly to virVasprintf for example.
> 
> Good idea :)

I will remove this patch from this patchset on V2, and send a separate one
for virMutexInit* implement.

> 
> > 
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 




More information about the libvir-list mailing list