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

Jincheng Miao jmiao at redhat.com
Wed Jul 16 06:55:17 UTC 2014


----- 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 :)

> 




More information about the libvir-list mailing list